public void SendMessage( IEnumerable<MailAddress> to, string subject, string message, bool messageIsHtml, bool needFooter, IDictionary<string, string> headers, IEnumerable<MailMessageFile> files, bool sendSeparately )
Send a message
Syntax
public void SendMessage( IEnumerable<MailAddress> to, string subject, string message, bool messageIsHtml, bool needFooter, IDictionary<string, string> headers, IEnumerable<MailMessageFile> files, bool sendSeparately )
Parameters
- 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