EmailInfoProvider SetEmailInfo Method (EmailMessage, Int32, Boolean, String, Int32)Kentico 8.1 API Reference
Creates new EmailInfo from EmailMessage.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

message
Type: CMS.EmailEngine EmailMessage
Email message
siteId
Type: OnlineSystem Int32
ID of the site
dontSend
Type: OnlineSystem Boolean
If true, e-mail status remains 'being created' so it could not be sent
setName
Type: OnlineSystem String
Allows to flag e-mail as a part of specific e-mail set, could be null
setRelatedId
Type: OnlineSystem Int32
ID for indication of the e-mail in specific set

Return Value

Type: EmailInfo
EmailInfo object
See Also