Sends a mail message constructed from the specified parameters using the specified SMTP server.
public static void Send(
string from,
string to,
string subject,
string body,
SmtpSendOptions configuration
)
Public Shared Sub Send( _
ByVal from As String, _
ByVal to As String, _
ByVal subject As String, _
ByVal body As String, _
ByVal configuration As SmtpSendOptions _
)
public:
static void Send(
String^ from,
String^ to,
String^ subject,
String^ body,
SmtpSendOptions^ configuration
);
Parameters
- from
- Message sender.
- to
- Comma-separated list of message recipients.
- subject
- The subject of the message.
- body
- The text body of the message.
- configuration
- The SmtpSendOptions class.