FilepublishUploadRecipientCC

Version: - string  

Summary

Returns the e-mail address of the notification mail carbon copy recipient.

Settings

The value is based on the Recipient CC input field in the Upload section for the paragraph module.

(Page > Paragraph > Module tab > Upload panel > Recipient CC)

Remarks

An input field with the name RecipientCC must be defined in the form if the mail should be sent to the carbon copy recipient.

Examples

Outputting the template tag

@GetString("FilepublishUploadRecipientCC")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("FilepublishUploadRecipientCC"); }

Outputting the template tag

<!--@FilepublishUploadRecipientCC-->

Check if string has a value

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