SmtpServer.SubmitMessage Method
When overridden in a derived class, the SubmitMessage method submits an e-mail message for delivery by this Simple Mail Transfer Protocol (SMTP) server.
Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public MustOverride Sub SubmitMessage ( _
message As EmailMessage _
)
'Usage
Dim instance As SmtpServer
Dim message As EmailMessage
instance.SubmitMessage(message)
public abstract void SubmitMessage(
EmailMessage message
)
Parameters
- message
Type: Microsoft.Exchange.Data.Transport.Email.EmailMessage
An instance of the EmailMessage class that represents the e-mail message to submit for delivery.