FolderInfo.AddMessage
FolderInfo.AddMessage method
Adds a new message into folder.
public string AddMessage(MapiMessage message)
Parameter | Type | Description |
---|---|---|
message | MapiMessage | The message necessary to add. |
Return Value
The string that represents the EntryId of the added message.
Exceptions
exception | condition |
---|---|
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
- class MapiMessage
- class FolderInfo
- namespace Aspose.Email.Storage.Pst
- assembly Aspose.Email