LumiSoft Net Help
SendMessage Method (stream, useBdatIfPossibe)
NamespacesLumiSoft.Net.SMTP.ClientSMTP_ClientSendMessage(Stream, Boolean)
Sends raw message to SMTP server.
Declaration Syntax
C#Visual BasicVisual C++F#
public void SendMessage(
	Stream stream,
	bool useBdatIfPossibe
)
Public Sub SendMessage ( 
	stream As Stream,
	useBdatIfPossibe As Boolean
)
public:
void SendMessage(
	Stream^ stream, 
	bool useBdatIfPossibe
)
member SendMessage : 
        stream : Stream * 
        useBdatIfPossibe : bool -> unit 
Parameters
stream (Stream)
Message stream. Sending starts from stream current position.
useBdatIfPossibe (Boolean)
Specifies if BDAT command is used to send message, if remote server supports it.
Remarks
The stream must contain data in MIME format, other formats normally are rejected by SMTP server.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised when SMTP client is not connected.
SMTP_ClientExceptionIs raised when SMTP server returns error.

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