Sends a message composed from the arguments and stores it to the 'Sent Items' folder.

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

Syntax

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

Parameters

from
Type: System..::..String
Message sender.
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 text body of the message.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also