MapiJournal

MapiJournal class

Inherits: Aspose::Email::Mapi::MapiMessageItemBase

Represents a MAPI journal item.

This class serves as a wrapper for MapiMessage to simplify the process of handling journal information from MAPI properties. It provides a more intuitive interface for accessing and manipulating journal data within the MAPI message.

The following example demonstrates how to get a MapiJournal object from a MapiMessage .

var msg = MapiMessage.Load("journal.msg");
 
// Check if the loaded message is a supported journal type
if (msg.SupportedType == MapiItemType.Journal)
{
 // Convert the MAPI message to a MapiJournal object
    var mapiJournal = (MapiJournal)msg.ToMapiMessageItem();
 
 // Display some journal info
    Console.WriteLine(mapiJournal.StartTime);
    Console.WriteLine(mapiJournal.Description);
}
Dim msg = MapiMessage.Load("journal.msg")
 
' Check if the loaded message is a supported journal type
If msg.SupportedType = MapiItemType.Journal Then
    ' Convert the MAPI message to a MapiJournal object
    Dim mapiJournal = DirectCast(msg.ToMapiMessageItem(), MapiJournal)
 
 ' Display some journal info
    Console.WriteLine(mapiJournal.StartTime)
    Console.WriteLine(mapiJournal.Description)
End If

Constructors

NameDescription
MapiJournal (3 overloads)Initializes a new instance of the MapiJournal class.

Methods

NameDescription
ConvertToMapiMessageConverts journal object to mapi message
get_BriefDescriptionGets the brief description of activity that is being recorded.
get_DescriptionGets the description of activity that is being recorded.
get_DocumentStatusGets the status of document.
get_DurationGets the duration of the activity.
get_EndTimeGets the time at which the activity ended.
get_FlagsGets a flags that contains metadata about the Journal object.
get_StartTimeGets the time at which the activity began.
GetUnderlyingMessageRetrieves the underlying MapiMessage object.
Save (2 overloads)Saves the specified stream.
set_BriefDescriptionSets the brief description of activity that is being recorded.
set_DescriptionSets the description of activity that is being recorded.
set_DocumentStatusSets the status of document.
set_EndTimeSets the time at which the activity ended.
set_FlagsSets a flags that contains metadata about the Journal object.
set_StartTimeSets the time at which the activity began.