LumiSoft Net Help
MailFromAsync Method (op)
Namespaces ► LumiSoft.Net.SMTP.Client ► SMTP_Client ► MailFromAsync(SMTP_Client..::..MailFromAsyncOP)
Starts sending MAIL command to SMTP server.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public bool MailFromAsync(
    	SMTP_Client..::..MailFromAsyncOP op
    )

    Public Function MailFromAsync (
    	op As SMTP_Client..::..MailFromAsyncOP
    ) As Boolean

    public:
    bool MailFromAsync(
    	SMTP_Client..::..MailFromAsyncOP^ op
    )

    member MailFromAsync :
            op : SMTP_Client..::..MailFromAsyncOP -> bool

Parameters

op (SMTP_Client..::..MailFromAsyncOP)
  Asynchronous operation.

Return Value
Boolean
Returns true if aynchronous operation is pending (The CompletedAsync event is raised upon completion of the operation). Returns false if operation completed synchronously.
Remarks
Before using ret or envid arguments, check that remote server supports(SMTP_Client.EsmtpFeatures) SMTP DSN extention.
Exceptions

Exception | Condition
--- | ---
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed.
InvalidOperationException | Is raised when SMTP client is not connected.
ArgumentNullException | Is raised when op is null reference.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119