Sends the message by submitting the message directly to the recipients' SMTP servers.
Namespace:
Rebex.Net
Assembly:
Rebex.Smtp (in Rebex.Smtp.dll)
Syntax
Visual Basic |
---|
Public Shared Function SendDirect ( _ message As MailMessage _ ) As SmtpRejectedRecipient() |
C# |
---|
public static SmtpRejectedRecipient[] SendDirect( MailMessage message ) |
Parameters
- message
- Type: Rebex.Mail..::..MailMessage
Message to be sent.
Return Value
The list of recipients to which the mail message failed to deliver.Remarks
Only supported on Windows platforms.