LumiSoft Net Help
RcptTo Method (to, notify, orcpt)
Namespaces ► LumiSoft.Net.SMTP.Client ► SMTP_Client ► RcptTo(String, SMTP_DSN_Notify, String)
Sends RCPT TO: command to SMTP server.
Declaration Syntax

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

    public void RcptTo(
    	string to,
    	SMTP_DSN_Notify notify,
    	string orcpt
    )

    Public Sub RcptTo (
    	to As String,
    	notify As SMTP_DSN_Notify,
    	orcpt As String
    )

    public:
    void RcptTo(
    	String^ to,
    	SMTP_DSN_Notify notify,
    	String^ orcpt
    )

    member RcptTo :
            to : string *
            notify : SMTP_DSN_Notify *
            orcpt : string -> unit

Parameters

to (String)
  Recipient email address.

notify (SMTP_DSN_Notify)
  Delivery satus notification(DSN) NOTIFY value. For more info see RFC 3461.

orcpt (String)
  Delivery satus notification(DSN) ORCPT value. Value null means not specified. For more info see RFC 3461.

Remarks
Before using notify or orcpt arguments, check that remote server supports(SMTP_Client.EsmtpFeatures) SMTP DSN extention.
Exceptions

Exception | Condition
--- | ---
ObjectDisposedException | Is raised when this object is disposed and this method is accessed.
InvalidOperationException | Is raised when SMTP client is not connected.
ArgumentException | Is raised when any of the arguments has invalid value.
SMTP_ClientException | Is raised when SMTP server returns error.

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