Forum:Message.AuthorEmail
Version: - stringSummary
Returns the authors email.
Settings
The value is based on the E-mail field for the forum thread/post.
Examples
Outputting the template tag
@GetString("Forum:Message.AuthorEmail")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Forum:Message.AuthorEmail"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Forum:Message.AuthorEmail");
}
Outputting the template tag
<!--@Forum:Message.AuthorEmail-->
Check if string has a value
<!--@If Defined(@Forum:Message.AuthorEmail)-->
Let's output this tag here: <strong><!--@Forum:Message.AuthorEmail--></strong>
<!--@EndIf(@Forum:Message.AuthorEmail)-->