Click or drag to resize
IssueInfoProviderGetEmailBody Method (IssueInfo, NewsletterInfo, SubscriberNewsletterInfo, 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: 9.0.0
Syntax
C#
public static string GetEmailBody(
	IssueInfo issue,
	NewsletterInfo newsletter,
	SubscriberNewsletterInfo subscription,
	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)
subscription
Type: CMS.NewslettersSubscriberNewsletterInfo
Subscription information (optional)
template
Type: CMS.NewslettersEmailTemplateInfo
Email template (optional)
subscriber
Type: CMS.NewslettersSubscriberInfo
Subscriber object (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