Aspose::Email::Clients::MessageInfoBase Class Reference

The MessageInfo represents the E-Mail message info fetched from the mail server. More...

Inherits IDisposable.

Inherited by Aspose::Email::Clients::Exchange::ExchangeMessageInfo, Aspose::Email::Clients::Graph::MessageInfo, Aspose::Email::Clients::Imap::ImapMessageInfo, and Aspose::Email::Clients::Pop3::Pop3MessageInfo.

Public Member Functions

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...
 

Public Attributes

System::SharedPtr< Aspose::Email::Mime::HeaderCollectionInternalHeaders
 

Friends

class Aspose::Email::Clients::Exchange::Dav::ExchangeClient
 
class Aspose::Email::Clients::Exchange::Dav::ExchangeDavMessageInfo
 
class Aspose::Email::Clients::Exchange::WebService::Extensions::ItemTypeExtensions
 
class Aspose::Email::Clients::Exchange::WebService::Implementation::Folders::Restore::EwsClientFolderRestore
 
class Aspose::Email::Clients::Graph::MessageInfo
 
class Aspose::Email::Clients::Imap::Commands::FetchMessageInfoCollectionCommand
 
class Aspose::Email::Clients::Imap::Commands::ListMessagesGrCommand
 
class Aspose::Email::Clients::Imap::Commands::RestoreGrCommand
 
class Aspose::Email::Clients::Pop3::Commands::GetMessageInfoGrCommand
 
class Aspose::Email::Clients::Pop3::Commands::ListMessagesGrCommand
 
class Aspose::Email::Clients::Pop3::Commands::LoadMessageInfoListGrCommand
 
class Aspose::Email::Clients::Pop3::Pop3Client
 
class Aspose::Email::Clients::Pop3::Pop3MessageInfo
 

Detailed Description

The MessageInfo represents the E-Mail message info fetched from the mail server.

Constructor & Destructor Documentation

◆ MessageInfoBase() [1/2]

Aspose::Email::Clients::MessageInfoBase::MessageInfoBase ( )

Initializes a new instance of the MessageInfoBase class.

◆ MessageInfoBase() [2/2]

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

Initializes a new instance of the MessageInfoBase class.

Parameters
propertiesmapi properties

Member Function Documentation

◆ Dispose()

void Aspose::Email::Clients::MessageInfoBase::Dispose ( )
override

Performs tasks associated with freeing, releasing, or resetting unmanaged resources.

◆ get_Bcc()

virtual System::SharedPtr<MailAddressCollection> Aspose::Email::Clients::MessageInfoBase::get_Bcc ( )
virtual

Gets blind carbon copy of the E-Mail message.

◆ get_CC()

virtual System::SharedPtr<MailAddressCollection> Aspose::Email::Clients::MessageInfoBase::get_CC ( )
virtual

Gets CC of the E-Mail message.

◆ get_Date()

virtual System::DateTime Aspose::Email::Clients::MessageInfoBase::get_Date ( )
virtual

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.)

◆ get_From()

System::SharedPtr<MailAddress> Aspose::Email::Clients::MessageInfoBase::get_From ( )

Gets the list of authors of this message.

The list of authors of this message.

◆ get_Headers()

System::SharedPtr<Aspose::Email::Mime::HeaderCollection> Aspose::Email::Clients::MessageInfoBase::get_Headers ( )

Gets the Headers of the E-Mail message.

The headers.

◆ get_ListUnsubscribe()

System::String Aspose::Email::Clients::MessageInfoBase::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

◆ get_MessageId()

System::String Aspose::Email::Clients::MessageInfoBase::get_MessageId ( )

Gets the message ID.

The message id string.

◆ get_Properties()

virtual System::SharedPtr<Aspose::Email::Mapi::MapiPropertyCollection> Aspose::Email::Clients::MessageInfoBase::get_Properties ( )
virtual

Gets a mapi properties.

◆ get_ReplyTo()

System::SharedPtr<MailAddressCollection> Aspose::Email::Clients::MessageInfoBase::get_ReplyTo ( )

Gets the list of addresses that should receive replies to this message.

The list of addresses.

◆ get_Sender()

System::SharedPtr<MailAddress> Aspose::Email::Clients::MessageInfoBase::get_Sender ( )

Gets the sender of this message.

The sender of this message.

◆ get_Size()

int64_t Aspose::Email::Clients::MessageInfoBase::get_Size ( ) const

Gets the size of the E-Mail message.

The size of the E-Mail message.

◆ get_Subject()

System::String Aspose::Email::Clients::MessageInfoBase::get_Subject ( )

Gets the Subject of the E-Mail message.

◆ get_To()

virtual System::SharedPtr<MailAddressCollection> Aspose::Email::Clients::MessageInfoBase::get_To ( )
virtual

Gets the receiptants of the E-Mail message.

◆ set_Bcc()

virtual void Aspose::Email::Clients::MessageInfoBase::set_Bcc ( System::SharedPtr< MailAddressCollection value)
virtual

Gets blind carbon copy of the E-Mail message.

◆ set_CC()

virtual void Aspose::Email::Clients::MessageInfoBase::set_CC ( System::SharedPtr< MailAddressCollection value)
virtual

Gets CC of the E-Mail message.

◆ set_Date()

virtual void Aspose::Email::Clients::MessageInfoBase::set_Date ( System::DateTime  value)
virtual

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.)

◆ set_From()

void Aspose::Email::Clients::MessageInfoBase::set_From ( System::SharedPtr< MailAddress value)

Gets the list of authors of this message.

The list of authors of this message.

◆ set_ListUnsubscribe()

void Aspose::Email::Clients::MessageInfoBase::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

◆ set_MessageId()

void Aspose::Email::Clients::MessageInfoBase::set_MessageId ( System::String  value)

Gets the message ID.

The message id string.

◆ set_ReplyTo()

void Aspose::Email::Clients::MessageInfoBase::set_ReplyTo ( System::SharedPtr< MailAddressCollection value)

Gets the list of addresses that should receive replies to this message.

The list of addresses.

◆ set_Sender()

void Aspose::Email::Clients::MessageInfoBase::set_Sender ( System::SharedPtr< MailAddress value)

Gets the sender of this message.

The sender of this message.

◆ set_Size()

void Aspose::Email::Clients::MessageInfoBase::set_Size ( int64_t  value)

Gets the size of the E-Mail message.

The size of the E-Mail message.

◆ set_Subject()

void Aspose::Email::Clients::MessageInfoBase::set_Subject ( System::String  value)

Gets the Subject of the E-Mail message.

◆ set_To()

virtual void Aspose::Email::Clients::MessageInfoBase::set_To ( System::SharedPtr< MailAddressCollection value)
virtual

Gets the receiptants of the E-Mail message.

◆ SetMessage()

void Aspose::Email::Clients::MessageInfoBase::SetMessage ( System::SharedPtr< MailMessage m)

Applies the message data.

Parameters
mMail message

◆ ToString()

System::String Aspose::Email::Clients::MessageInfoBase::ToString ( ) const
override

A string that represents the current object.

Returns
Returns a string that represents the current object.

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::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::Graph::MessageInfo

◆ Aspose::Email::Clients::Imap::Commands::FetchMessageInfoCollectionCommand

friend class Aspose::Email::Clients::Imap::Commands::FetchMessageInfoCollectionCommand
friend

◆ Aspose::Email::Clients::Imap::Commands::ListMessagesGrCommand

friend class Aspose::Email::Clients::Imap::Commands::ListMessagesGrCommand
friend

◆ Aspose::Email::Clients::Imap::Commands::RestoreGrCommand

friend class Aspose::Email::Clients::Imap::Commands::RestoreGrCommand
friend

◆ Aspose::Email::Clients::Pop3::Commands::GetMessageInfoGrCommand

friend class Aspose::Email::Clients::Pop3::Commands::GetMessageInfoGrCommand
friend

◆ Aspose::Email::Clients::Pop3::Commands::ListMessagesGrCommand

friend class Aspose::Email::Clients::Pop3::Commands::ListMessagesGrCommand
friend

◆ Aspose::Email::Clients::Pop3::Commands::LoadMessageInfoListGrCommand

friend class Aspose::Email::Clients::Pop3::Commands::LoadMessageInfoListGrCommand
friend

◆ Aspose::Email::Clients::Pop3::Pop3Client

◆ Aspose::Email::Clients::Pop3::Pop3MessageInfo

Member Data Documentation

◆ InternalHeaders

System::SharedPtr<Aspose::Email::Mime::HeaderCollection> Aspose::Email::Clients::MessageInfoBase::InternalHeaders