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

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

Parameters

from
Type: System.Net.Mail MailAddress
Sender (if not selected, then it is sent as ELMA)
to
Type: System.Net.Mail MailAddress
Recipient
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
See Also