We setup a SMTP with our email, eg: firstname.lastname@example.org.
1) is hardcoded in C# when sending out registration email.
2) is hardcoded in cshtml for display purposes
3) is hardcoded in "Sitefinity -> Adminstrators -> ... -> Labels and Messages" (forgotPassword Email template)
Now, when there is a change in the email, developers have to search the entire project + sitefinity to replace this string.
Question: is there a way to set this value at sitefinity, such that it can be both retrieved from "labels and messages" (eg: ConfirmationUrl) and c# backend?
To retrieve labels/messages in C#:
Add the following using statement:
Reference the label using the following code:
thanks for your reply.
but really, "Res.Get<ProductsResources>().AmazonSearchServiceTitle" doesn't appear to be 'intuitive' at first sight >.<