FolderInfoAddMessage Method

Adds a new message into folder.

Namespace:  Aspose.Email.Storage.Pst
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public string AddMessage(
	MapiMessage message
)

Parameters

message
Type: Aspose.Email.MapiMapiMessage
The message necessary to add.

Return Value

Type: String
The string that represents the EntryId of the added message.
Exceptions
ExceptionCondition
NotImplementedException throws, if a PST file version is ANSI.
ArgumentNullException throws, if a message to add is null.
InvalidOperationException throws, if a PST is open for reading only.
See Also