FolderInfo.AddMessage

FolderInfo.AddMessage method

Adds a new message into folder.

public string AddMessage(MapiMessage message)
ParameterTypeDescription
messageMapiMessageThe message necessary to add.

Return Value

The string that represents the EntryId of the added message.

Exceptions

exceptioncondition
NotImplementedExceptionthrows, if a PST file version is ANSI.
ArgumentNullExceptionthrows, if a message to add is null.
InvalidOperationExceptionthrows, if a PST is open for reading only.

See Also