Sends the message using the specified SMTP server.
Namespace:
Rebex.Net
Assembly:
Rebex.Smtp (in Rebex.Smtp.dll)
Syntax
Visual Basic |
---|
Public Shared Sub Send ( _ message As MailMessage, _ configuration As SmtpConfiguration _ ) |
C# |
---|
public static void Send( MailMessage message, SmtpConfiguration configuration ) |
Parameters
- message
- Type: Rebex.Mail..::..MailMessage
Message to be sent.
- configuration
- Type: Rebex.Net..::..SmtpConfiguration
The SmtpConfiguration class.