|
MailSend(String, String, String, String, Boolean, String, String, String) Method
|
Sends a secure
Mail message.
Namespace: GSF.Net.SmtpAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxpublic static void Send(
string from,
string toRecipients,
string subject,
string body,
bool isBodyHtml,
string smtpServer,
string username,
string password
)
Public Shared Sub Send (
from As String,
toRecipients As String,
subject As String,
body As String,
isBodyHtml As Boolean,
smtpServer As String,
username As String,
password As String
)
public:
static void Send(
String^ from,
String^ toRecipients,
String^ subject,
String^ body,
bool isBodyHtml,
String^ smtpServer,
String^ username,
String^ password
)
static member Send :
from : string *
toRecipients : string *
subject : string *
body : string *
isBodyHtml : bool *
smtpServer : string *
username : string *
password : string -> unit
GSF.Net.Smtp.Mail.Send = function(from, toRecipients, subject, body, isBodyHtml, smtpServer, username, password);
View SourceParameters
- from String
- The e-mail address of the Mail message sender.
- toRecipients String
- A comma-separated or semicolon-separated e-mail address list of the Mail message recipients.
- subject String
- The subject of the Mail message.
- body String
- The body of the Mail message.
- isBodyHtml Boolean
- true if the Mail message body is to be formated as HTML; otherwise false.
- smtpServer String
- The name or IP address of the SMTP server to be used for sending the Mail message.
- username String
- The username of the account used to authenticate to the SMTP server.
- password String
- The password of the account used to authenticate to the SMTP server.
See Also