Sends a message composed from the arguments.

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

Syntax

Visual Basic
Public Sub SendMessage ( _
	to As String, _
	subject As String, _
	body As EwsMessageBody, _
	folderId As EwsFolderId _
)
C#
public void SendMessage(
	string to,
	string subject,
	EwsMessageBody body,
	EwsFolderId folderId
)

Parameters

to
Type: System..::..String
Comma-separated list of message recipients.
subject
Type: System..::..String
The subject of the message.
body
Type: Rebex.Net..::..EwsMessageBody
The body of the message.
folderId
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 in the Exchange server.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also