LumiSoft Net Help
BeginSendMessage Method (message, callback, state)
NamespacesLumiSoft.Net.SMTP.ClientSMTP_ClientBeginSendMessage(Stream, AsyncCallback, Object)
Starts sending specified raw message to SMTP server.
Declaration Syntax
C#Visual BasicVisual C++F#
[ObsoleteAttribute("Use method 'SendMessageAsync' instead.")]
public IAsyncResult BeginSendMessage(
	Stream message,
	AsyncCallback callback,
	Object state
)
<ObsoleteAttribute("Use method 'SendMessageAsync' instead.")>
Public Function BeginSendMessage ( 
	message As Stream,
	callback As AsyncCallback,
	state As Object
) As IAsyncResult
public:
[ObsoleteAttribute(L"Use method 'SendMessageAsync' instead.")]
IAsyncResult^ BeginSendMessage(
	Stream^ message, 
	AsyncCallback^ callback, 
	Object^ state
)
[<ObsoleteAttribute("Use method 'SendMessageAsync' instead.")>]
member BeginSendMessage : 
        message : Stream * 
        callback : AsyncCallback * 
        state : Object -> IAsyncResult 
Parameters
message (Stream)
Message stream. Message will be readed from current stream position and to the end of stream.
callback (AsyncCallback)
Callback to call when the asynchronous operation is complete.
state (Object)
User data.
Return Value
IAsyncResult
An IAsyncResult that references the asynchronous method.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised when SMTP client is not connected.
ArgumentNullExceptionIs raised when message is null.

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