Aspose::Email::Clients::Exchange::ExchangeMessageInfo Class Reference

The ExchangeMessageInfo represents the E-Mail message info fetched from the Exchange Store. More...

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

Public Member Functions

virtual System::DateTime get_InternalDate ()
 The internal date and time of the message on the server. This is not the date and time in the [RFC-2822] header, but rather a date and time which reflects when the message was received.
More...
 
virtual void set_InternalDate (System::DateTime value)
 The internal date and time of the message on the server. This is not the date and time in the [RFC-2822] header, but rather a date and time which reflects when the message was received.
More...
 
virtual System::SharedPtr< ExchangeAttachmentInfoCollectionget_Attachments ()
 Gets message attachments More...
 
System::SharedPtr< System::Collections::Generic::Dictionary< System::SharedPtr< Aspose::Email::Mapi::PropertyDescriptor >, System::SharedPtr< System::Object > > > get_ExtendedProperties () const
 Gets extended properties of a message. More...
 
virtual System::String get_UniqueUri ()
 Gets the unique URI of message. More...
 
virtual void set_UniqueUri (System::String value)
 Gets the unique URI of message. More...
 
virtual System::String get_MessageClass ()
 Gets a string representing the class for the message. The property corresponds to the PidTagMessageClass MAPI property. More...
 
virtual void set_MessageClass (System::String value)
 Gets a string representing the class for the message. The property corresponds to the PidTagMessageClass MAPI property. More...
 
virtual bool get_IsRead ()
 Gets a value indicating whether the message has been read More...
 
virtual void set_IsRead (bool value)
 Gets a value indicating whether the message has been read More...
 
virtual bool get_HasAttachments ()
 Gets a value indicating whether the message contains at least one attachment. More...
 
virtual void set_HasAttachments (bool value)
 Gets a value indicating whether the message contains at least one attachment. More...
 
virtual Aspose::Email::Clients::Exchange::MessageInfoType get_MessageInfoType ()
 Gets the type of the message More...
 
virtual void set_MessageInfoType (Aspose::Email::Clients::Exchange::MessageInfoType value)
 Gets the type of the message More...
 
- 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...
 

Protected Member Functions

 ExchangeMessageInfo ()
 Initializes a new instance of the ExchangeMessageInfo class. More...
 

Friends

class Aspose::Email::Clients::Exchange::Dav::ExchangeClient
 
class Aspose::Email::Clients::Exchange::Dav::ExchangeDavMessageInfo
 
class Aspose::Email::Clients::Exchange::WebService::EWSClient2007
 
class Aspose::Email::Clients::Exchange::WebService::Extensions::ItemTypeExtensions
 
class Aspose::Email::Clients::Exchange::WebService::Implementation::Folders::Restore::EwsClientFolderRestore
 
class Aspose::Email::Clients::Exchange::WebService::Implementation::Messages::Fetch::EwsClientMessageFetch
 

Additional Inherited Members

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

Detailed Description

The ExchangeMessageInfo represents the E-Mail message info fetched from the Exchange Store.

Constructor & Destructor Documentation

◆ ExchangeMessageInfo()

Aspose::Email::Clients::Exchange::ExchangeMessageInfo::ExchangeMessageInfo ( )
protected

Initializes a new instance of the ExchangeMessageInfo class.

Member Function Documentation

◆ get_Attachments()

virtual System::SharedPtr<ExchangeAttachmentInfoCollection> Aspose::Email::Clients::Exchange::ExchangeMessageInfo::get_Attachments ( )
virtual

Gets message attachments

◆ get_ExtendedProperties()

System::SharedPtr<System::Collections::Generic::Dictionary<System::SharedPtr<Aspose::Email::Mapi::PropertyDescriptor>, System::SharedPtr<System::Object> > > Aspose::Email::Clients::Exchange::ExchangeMessageInfo::get_ExtendedProperties ( ) const

Gets extended properties of a message.

◆ get_HasAttachments()

virtual bool Aspose::Email::Clients::Exchange::ExchangeMessageInfo::get_HasAttachments ( )
virtual

Gets a value indicating whether the message contains at least one attachment.

◆ get_InternalDate()

virtual System::DateTime Aspose::Email::Clients::Exchange::ExchangeMessageInfo::get_InternalDate ( )
virtual

The internal date and time of the message on the server. This is not the date and time in the [RFC-2822] header, but rather a date and time which reflects when the message was received.

  • In the case of messages delivered via [SMTP], this SHOULD be the date and time of final delivery of the message as defined by[SMTP].
  • In the case of messages delivered by the IMAP4rev1 COPY command, this SHOULD be the internal date and time of the source message.
  • In the case of messages delivered by the IMAP4rev1 APPEND command, this SHOULD be the date and time as specified in the APPEND command description.
  • All other cases are implementation defined.

◆ get_IsRead()

virtual bool Aspose::Email::Clients::Exchange::ExchangeMessageInfo::get_IsRead ( )
virtual

Gets a value indicating whether the message has been read

◆ get_MessageClass()

virtual System::String Aspose::Email::Clients::Exchange::ExchangeMessageInfo::get_MessageClass ( )
virtual

Gets a string representing the class for the message. The property corresponds to the PidTagMessageClass MAPI property.

The string that represents the message class.

◆ get_MessageInfoType()

virtual Aspose::Email::Clients::Exchange::MessageInfoType Aspose::Email::Clients::Exchange::ExchangeMessageInfo::get_MessageInfoType ( )
virtual

Gets the type of the message

◆ get_UniqueUri()

virtual System::String Aspose::Email::Clients::Exchange::ExchangeMessageInfo::get_UniqueUri ( )
virtual

Gets the unique URI of message.

The string that represents the unique URI.

◆ set_HasAttachments()

virtual void Aspose::Email::Clients::Exchange::ExchangeMessageInfo::set_HasAttachments ( bool  value)
virtual

Gets a value indicating whether the message contains at least one attachment.

◆ set_InternalDate()

virtual void Aspose::Email::Clients::Exchange::ExchangeMessageInfo::set_InternalDate ( System::DateTime  value)
virtual

The internal date and time of the message on the server. This is not the date and time in the [RFC-2822] header, but rather a date and time which reflects when the message was received.

  • In the case of messages delivered via [SMTP], this SHOULD be the date and time of final delivery of the message as defined by[SMTP].
  • In the case of messages delivered by the IMAP4rev1 COPY command, this SHOULD be the internal date and time of the source message.
  • In the case of messages delivered by the IMAP4rev1 APPEND command, this SHOULD be the date and time as specified in the APPEND command description.
  • All other cases are implementation defined.

◆ set_IsRead()

virtual void Aspose::Email::Clients::Exchange::ExchangeMessageInfo::set_IsRead ( bool  value)
virtual

Gets a value indicating whether the message has been read

◆ set_MessageClass()

virtual void Aspose::Email::Clients::Exchange::ExchangeMessageInfo::set_MessageClass ( System::String  value)
virtual

Gets a string representing the class for the message. The property corresponds to the PidTagMessageClass MAPI property.

The string that represents the message class.

◆ set_MessageInfoType()

virtual void Aspose::Email::Clients::Exchange::ExchangeMessageInfo::set_MessageInfoType ( Aspose::Email::Clients::Exchange::MessageInfoType  value)
virtual

Gets the type of the message

◆ set_UniqueUri()

virtual void Aspose::Email::Clients::Exchange::ExchangeMessageInfo::set_UniqueUri ( System::String  value)
virtual

Gets the unique URI of message.

The string that represents the unique URI.

Friends And Related Function Documentation

◆ Aspose::Email::Clients::Exchange::Dav::ExchangeClient

◆ Aspose::Email::Clients::Exchange::Dav::ExchangeDavMessageInfo

friend class Aspose::Email::Clients::Exchange::Dav::ExchangeDavMessageInfo
friend

◆ Aspose::Email::Clients::Exchange::WebService::EWSClient2007

friend class Aspose::Email::Clients::Exchange::WebService::EWSClient2007
friend

◆ Aspose::Email::Clients::Exchange::WebService::Extensions::ItemTypeExtensions

friend class Aspose::Email::Clients::Exchange::WebService::Extensions::ItemTypeExtensions
friend

◆ Aspose::Email::Clients::Exchange::WebService::Implementation::Folders::Restore::EwsClientFolderRestore

friend class Aspose::Email::Clients::Exchange::WebService::Implementation::Folders::Restore::EwsClientFolderRestore
friend

◆ Aspose::Email::Clients::Exchange::WebService::Implementation::Messages::Fetch::EwsClientMessageFetch

friend class Aspose::Email::Clients::Exchange::WebService::Implementation::Messages::Fetch::EwsClientMessageFetch
friend