Sends a mail message.

Namespace:  Rebex.Net
Assembly:  Rebex.Ews (in Rebex.Ews.dll)

Syntax

Visual Basic
Public Sub SendMessage ( _
	message As MailMessage, _
	saveFolderId As EwsFolderId _
)
C#
public void SendMessage(
	MailMessage message,
	EwsFolderId saveFolderId
)

Parameters

message
Type: Rebex.Mail..::..MailMessage
Message to send.
saveFolderId
Type: Rebex.Net..::..EwsFolderId
ID of a folder to which to save the sent message. Specify null (Nothing in VB.NET) to send the message without saving it at the Exchange server.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also