Sends raw message to SMTP server.
| C# | Visual Basic | Visual 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
The stream must contain data in MIME format, other formats normally are rejected by SMTP server.
| Exception | Condition |
|---|---|
| ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
| InvalidOperationException | Is raised when SMTP client is not connected. |
| SMTP_ClientException | Is raised when SMTP server returns error. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119