SmtpResponse.MailFromOk Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders. Some topics may contain links to blank placeholder topics.]

The MailFromOk field gets an instance of the SmtpResponse structure that represents a 250 2.1.0 Sender OK response.

Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public Shared Function MailFromOk ( _
    sender As String _
) As SmtpResponse
public static SmtpResponse MailFromOk (
    string sender
)
public:
static SmtpResponse MailFromOk (
    String^ sender
)
public static SmtpResponse MailFromOk (
    String sender
)
public static function MailFromOk (
    sender : String
) : SmtpResponse

Parameters

  • sender
    The Simple Mail Transfer Protocol (SMTP) address of the sender for which to send the response.

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)

Target Platforms

See Also

Reference

SmtpResponse Structure
SmtpResponse Members
Microsoft.Exchange.Data.Transport.Smtp Namespace