Aspose::Email::Clients::Graph::MessageInfo Class Reference

The MessageInfo represents the server item info fetched from the Graph service. More...

Inherits Aspose::Email::Clients::MessageInfoBase.

Public Member Functions

virtual System::String get_ItemId ()
 Gets the message URI. More...
 
 MessageInfo (System::SharedPtr< Aspose::Email::Mapi::MapiPropertyCollection > properties)
 
- Public Member Functions inherited from Aspose::Email::Clients::MessageInfoBase
System::SharedPtr< Aspose::Email::Mime::HeaderCollectionget_Headers ()
 Gets the Headers of the E-Mail message. More...
 
System::String get_Subject ()
 Gets the Subject of the E-Mail message. More...
 
void set_Subject (System::String value)
 Gets the Subject of the E-Mail message. More...
 
System::String get_MessageId ()
 Gets the message ID. More...
 
void set_MessageId (System::String value)
 Gets the message ID. More...
 
virtual System::SharedPtr< MailAddressCollectionget_To ()
 Gets the receiptants of the E-Mail message. More...
 
virtual void set_To (System::SharedPtr< MailAddressCollection > value)
 Gets the receiptants of the E-Mail message. More...
 
virtual System::SharedPtr< MailAddressCollectionget_CC ()
 Gets CC of the E-Mail message. More...
 
virtual void set_CC (System::SharedPtr< MailAddressCollection > value)
 Gets CC of the E-Mail message. More...
 
virtual System::SharedPtr< MailAddressCollectionget_Bcc ()
 Gets blind carbon copy of the E-Mail message. More...
 
virtual void set_Bcc (System::SharedPtr< MailAddressCollection > value)
 Gets blind carbon copy of the E-Mail message. More...
 
System::SharedPtr< MailAddressCollectionget_ReplyTo ()
 Gets the list of addresses that should receive replies to this message. More...
 
void set_ReplyTo (System::SharedPtr< MailAddressCollection > value)
 Gets the list of addresses that should receive replies to this message. More...
 
System::SharedPtr< MailAddressget_From ()
 Gets the list of authors of this message. More...
 
void set_From (System::SharedPtr< MailAddress > value)
 Gets the list of authors of this message. More...
 
System::SharedPtr< MailAddressget_Sender ()
 Gets the sender of this message. More...
 
void set_Sender (System::SharedPtr< MailAddress > value)
 Gets the sender of this message. More...
 
void set_Size (int64_t value)
 Gets the size of the E-Mail message. More...
 
virtual System::DateTime get_Date ()
 The origination date specifies the date and time at which the creator of the message indicated that the message was complete and ready to enter the mail delivery system. For instance, this might be the time that a user pushes the "send" or "submit" button in an application program. In any case, it is specifically not intended to convey the time that the message is actually transported, but rather the time at which the human or other creator of the message has put the message into its final form, ready for transport. (For example, a portable computer user who is not connected to a network might queue a message for delivery. The origination date is intended to contain the date and time that the user queued the message, not the time when the user connected to the network to send the message.) More...
 
virtual void set_Date (System::DateTime value)
 The origination date specifies the date and time at which the creator of the message indicated that the message was complete and ready to enter the mail delivery system. For instance, this might be the time that a user pushes the "send" or "submit" button in an application program. In any case, it is specifically not intended to convey the time that the message is actually transported, but rather the time at which the human or other creator of the message has put the message into its final form, ready for transport. (For example, a portable computer user who is not connected to a network might queue a message for delivery. The origination date is intended to contain the date and time that the user queued the message, not the time when the user connected to the network to send the message.) More...
 
System::String get_ListUnsubscribe ()
 The List-Unsubscribe field describes the command (preferably using mail) to directly unsubscribe the user(removing them from the list). For more details please see https://tools.ietf.org/html/rfc2369 More...
 
void set_ListUnsubscribe (System::String value)
 The List-Unsubscribe field describes the command (preferably using mail) to directly unsubscribe the user(removing them from the list). For more details please see https://tools.ietf.org/html/rfc2369 More...
 
virtual System::SharedPtr< Aspose::Email::Mapi::MapiPropertyCollectionget_Properties ()
 Gets a mapi properties. More...
 
 MessageInfoBase ()
 Initializes a new instance of the MessageInfoBase class. More...
 
 MessageInfoBase (System::SharedPtr< Aspose::Email::Mapi::MapiPropertyCollection > properties)
 Initializes a new instance of the MessageInfoBase class. More...
 
void SetMessage (System::SharedPtr< MailMessage > m)
 Applies the message data. More...
 
void Dispose () override
 Performs tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 
int64_t get_Size () const
 Gets the size of the E-Mail message. More...
 
System::String ToString () const override
 A string that represents the current object. More...
 

Friends

class Aspose::Email::Clients::Graph::V1::Commands::ListMessagesCommand
 
class Aspose::Email::Clients::Graph::V1::Commands::ListMessagesWithPagingCommand
 

Additional Inherited Members

- Public Attributes inherited from Aspose::Email::Clients::MessageInfoBase
System::SharedPtr< Aspose::Email::Mime::HeaderCollectionInternalHeaders
 

Detailed Description

The MessageInfo represents the server item info fetched from the Graph service.

Constructor & Destructor Documentation

◆ MessageInfo()

Aspose::Email::Clients::Graph::MessageInfo::MessageInfo ( System::SharedPtr< Aspose::Email::Mapi::MapiPropertyCollection properties)

Member Function Documentation

◆ get_ItemId()

virtual System::String Aspose::Email::Clients::Graph::MessageInfo::get_ItemId ( )
virtual

Gets the message URI.

Friends And Related Function Documentation

◆ Aspose::Email::Clients::Graph::V1::Commands::ListMessagesCommand

friend class Aspose::Email::Clients::Graph::V1::Commands::ListMessagesCommand
friend

◆ Aspose::Email::Clients::Graph::V1::Commands::ListMessagesWithPagingCommand

friend class Aspose::Email::Clients::Graph::V1::Commands::ListMessagesWithPagingCommand
friend