LumiSoft Net Help
BeginRcptTo Method (to, notify, orcpt, callback, state)
NamespacesLumiSoft.Net.SMTP.ClientSMTP_ClientBeginRcptTo(String, SMTP_DSN_Notify, String, AsyncCallback, Object)
Starts sending RCPT TO: command to SMTP server.
Declaration Syntax
C#Visual BasicVisual C++F#
[ObsoleteAttribute("Use method RcptToAsync instead.")]
public IAsyncResult BeginRcptTo(
	string to,
	SMTP_DSN_Notify notify,
	string orcpt,
	AsyncCallback callback,
	Object state
)
<ObsoleteAttribute("Use method RcptToAsync instead.")>
Public Function BeginRcptTo ( 
	to As String,
	notify As SMTP_DSN_Notify,
	orcpt As String,
	callback As AsyncCallback,
	state As Object
) As IAsyncResult
public:
[ObsoleteAttribute(L"Use method RcptToAsync instead.")]
IAsyncResult^ BeginRcptTo(
	String^ to, 
	SMTP_DSN_Notify notify, 
	String^ orcpt, 
	AsyncCallback^ callback, 
	Object^ state
)
[<ObsoleteAttribute("Use method RcptToAsync instead.")>]
member BeginRcptTo : 
        to : string * 
        notify : SMTP_DSN_Notify * 
        orcpt : string * 
        callback : AsyncCallback * 
        state : Object -> IAsyncResult 
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.
callback (AsyncCallback)
Callback to call when the asynchronous operation is complete.
state (Object)
User data.
Return Value
IAsyncResult
An IAsyncResult that references the asynchronous disconnect.
Remarks
Before using notify or orcpt arguments, check that remote server supports SMTP DSN extention.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised when SMTP client is not connected.

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