EmailSender SendMassEmails Method Kentico 8.0 API Reference
Creates mass e-mails in the e-mail queue for specified members.

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

Parameters

message
Type: CMS.EmailEngine EmailMessage
E-mail message
userIds
Type: OnlineSystem String
User IDs separated by semicolon (;), could be 'null'
roleIds
Type: OnlineSystem String
Role IDs separated by semicolon (;), could be 'null'
groupIds
Type: OnlineSystem String
Group IDs separated by semicolon (;), could be 'null'
siteId
Type: OnlineSystem Int32
Site ID
sendToEveryone (Optional)
Type: OnlineSystem Boolean
Indicates if the e-mail should be send to generic role 'Everyone'; default value is FALSE
See Also