Click or drag to resize
EmailSenderSendMassEmails Method
Creates mass e-mails in the e-mail queue for specified members.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntax
C#
public static void SendMassEmails(
	EmailMessage message,
	string userIds,
	string roleIds,
	int siteId,
	bool sendToEveryone = false
)

Parameters

message
Type: CMS.EmailEngineEmailMessage
E-mail message
userIds
Type: SystemString
User IDs separated by semicolon (;), could be 'null'
roleIds
Type: SystemString
Role IDs separated by semicolon (;), could be 'null'
siteId
Type: SystemInt32
Site ID
sendToEveryone (Optional)
Type: SystemBoolean
Indicates if the e-mail should be send to generic role 'Everyone'; default value is FALSE
See Also