Click or drag to resize
IssueInfoProviderGetEmailBody Method (IssueInfo, NewsletterInfo, EmailTemplateInfo, SubscriberInfo, Boolean, String, String, String, String)
Merges issue text with template to create e-mail body and resolves macros with their values.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax
C#
public static string GetEmailBody(
	IssueInfo issue,
	NewsletterInfo newsletter,
	EmailTemplateInfo template,
	SubscriberInfo subscriber,
	bool previewOnly,
	string siteName,
	string domain,
	string appPath,
	string webFullUrl
)

Parameters

issue
Type: CMS.NewslettersIssueInfo
Issue
newsletter
Type: CMS.NewslettersNewsletterInfo
Newsletter (optional)
template
Type: CMS.NewslettersEmailTemplateInfo
Email template (optional)
subscriber
Type: CMS.NewslettersSubscriberInfo
Subscriber (optional)
previewOnly
Type: SystemBoolean
True when the message is in preview mode
siteName
Type: SystemString
Site name (optional)
domain
Type: SystemString
Domain (optional)
appPath
Type: SystemString
Application path (optional)
webFullUrl
Type: SystemString
Web full url (optional)

Return Value

Type: String
Issue e-mail body
See Also