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 _
)
public abstract void SubmitMessage (
    EmailMessage message
)
public:
virtual void SubmitMessage (
    EmailMessage^ message
) abstract
public abstract void SubmitMessage (
    EmailMessage message
)
public abstract function SubmitMessage (
    message : EmailMessage
)

Parameters

  • message
    An instance of the EmailMessage class that represents the e-mail message to submit for delivery.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003