PublicAPI.Services.EmailServices.SendMessage ELMA API Documentation
Send a message
 
 
Syntax

public void SendMessage(
	MailAddress from,
	IEnumerable<MailAddress> to,
	string subject,
	string message,
	bool messageIsHtml,
	bool needFooter,
	IDictionary<string, string> headers,
	IEnumerable<MailMessageFile> files,
	bool sendSeparately
)

Parameters

from
Type: System.Net.Mail MailAddress
Sender (if not selected, then it is sent as ELMA)
to
Type: System.Collections.Generic IEnumerable MailAddress 
Recipients
subject
Type: System String
Subject
message
Type: System String
Message text (body)
messageIsHtml
Type: System Boolean
True, if the message text (body) is in HTML
needFooter
Type: System Boolean
Whether to add a footer to the message body
headers
Type: System.Collections.Generic IDictionary String, String 
Additional headers
files
Type: System.Collections.Generic IEnumerable MailMessageFile 
Attached files
sendSeparately
Type: System Boolean
Whether to send the message to each recipient in particular
See Also