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 MimeMessage, _ configuration As SmtpConfiguration _ ) |
C# |
---|
public static void Send( MimeMessage message, SmtpConfiguration configuration ) |
Parameters
- message
- Type: Rebex.Mime..::..MimeMessage
Message to be sent.
- configuration
- Type: Rebex.Net..::..SmtpConfiguration
The SmtpConfiguration class.