Click or drag to resize
EmailInfoProviderSetEmailInfo Method (EmailMessage, Int32, Boolean, Boolean)
Creates new EmailInfo from EmailMessage.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 9.0.0
Syntax
C#
public static EmailInfo SetEmailInfo(
	EmailMessage message,
	int siteId,
	bool dontSend,
	bool isMassEmail
)

Parameters

message
Type: CMS.EmailEngineEmailMessage
Email message
siteId
Type: SystemInt32
ID of the site
dontSend
Type: SystemBoolean
If true, e-mail status remains 'being created' so it could not be sent
isMassEmail
Type: SystemBoolean
Indicates if the e-mail is mass

Return Value

Type: EmailInfo
EmailInfo object
See Also