LumiSoft Net Help
BeginMailFrom Method (from, messageSize, callback, state)
NamespacesLumiSoft.Net.SMTP.ClientSMTP_ClientBeginMailFrom(String, Int64, AsyncCallback, Object)
Starts sending MAIL FROM: command to SMTP server.
Declaration Syntax
C#Visual BasicVisual C++F#
[ObsoleteAttribute("Use method MailFromAsync instead.")]
public IAsyncResult BeginMailFrom(
	string from,
	long messageSize,
	AsyncCallback callback,
	Object state
)
<ObsoleteAttribute("Use method MailFromAsync instead.")>
Public Function BeginMailFrom ( 
	from As String,
	messageSize As Long,
	callback As AsyncCallback,
	state As Object
) As IAsyncResult
public:
[ObsoleteAttribute(L"Use method MailFromAsync instead.")]
IAsyncResult^ BeginMailFrom(
	String^ from, 
	long long messageSize, 
	AsyncCallback^ callback, 
	Object^ state
)
[<ObsoleteAttribute("Use method MailFromAsync instead.")>]
member BeginMailFrom : 
        from : string * 
        messageSize : int64 * 
        callback : AsyncCallback * 
        state : Object -> IAsyncResult 
Parameters
from (String)
Sender email address reported to SMTP server.
messageSize (Int64)
Sendable message size in bytes, -1 if message size unknown.
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.
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