Forum:LastReply.AuthorEMail

Version: - string  

Summary

Returns email address of author the last reply.

Settings

The value is based on the Email field for the forum message.

Examples

Outputting the template tag

@GetString("Forum:LastReply.AuthorEMail")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Forum:LastReply.AuthorEMail"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:LastReply.AuthorEMail"); }

Outputting the template tag

<!--@Forum:LastReply.AuthorEMail-->

Check if string has a value

<!--@If Defined(@Forum:LastReply.AuthorEMail)--> Let's output this tag here: <strong><!--@Forum:LastReply.AuthorEMail--></strong> <!--@EndIf(@Forum:LastReply.AuthorEMail)-->