Share via


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

See also

Reference

SmtpServer class

SmtpServer members

Microsoft.Exchange.Data.Transport namespace