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::Imap::FINAL, and Aspose::Email::Clients::Pop3::FINAL.

Public Member Functions

ASPOSE_EMAIL_SHARED_API System::SharedPtr< Aspose::Email::Mime::HeaderCollectionget_Headers ()
 Gets the Headers of the E-Mail message. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Subject ()
 Gets the Subject of the E-Mail message. More...
 
ASPOSE_EMAIL_SHARED_API void set_Subject (System::String value)
 Gets the Subject of the E-Mail message. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< MailAddressCollectionget_To ()
 Gets the receiptants of the E-Mail message. More...
 
virtual ASPOSE_EMAIL_SHARED_API void set_To (System::SharedPtr< MailAddressCollection > value)
 Gets the receiptants of the E-Mail message. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< MailAddressCollectionget_CC ()
 Gets CC of the E-Mail message. More...
 
virtual ASPOSE_EMAIL_SHARED_API void set_CC (System::SharedPtr< MailAddressCollection > value)
 Gets CC of the E-Mail message. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< MailAddressCollectionget_Bcc ()
 Gets blind carbon copy of the E-Mail message. More...
 
virtual ASPOSE_EMAIL_SHARED_API void set_Bcc (System::SharedPtr< MailAddressCollection > value)
 Gets blind carbon copy of the E-Mail message. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< MailAddressget_From ()
 Gets the list of authors of this message. More...
 
ASPOSE_EMAIL_SHARED_API void set_From (System::SharedPtr< MailAddress > value)
 Gets the list of authors of this message. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< MailAddressget_Sender ()
 Gets the sender of this message. More...
 
ASPOSE_EMAIL_SHARED_API void set_Sender (System::SharedPtr< MailAddress > value)
 Gets the sender of this message. More...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API int64_t get_Size ()
 Gets the size of the E-Mail message. More...
 
ASPOSE_EMAIL_SHARED_API void set_Size (int64_t value)
 Gets the size of the E-Mail message. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< MailMessageget_InternalMessage ()
 Gets the internal message. More...
 
ASPOSE_EMAIL_SHARED_API void set_InternalMessage (System::SharedPtr< MailMessage > value)
 Sets the internal message. More...
 
ASPOSE_EMAIL_SHARED_API MessageInfoBase ()
 Initializes a new instance of the MessageInfoBase class. More...
 
ASPOSE_EMAIL_SHARED_API void Dispose ()
 Performs tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::String ToString ()
 A string that represents the current object. More...
 

Public Attributes

System::SharedPtr< MailMessageinternalMessage
 

Friends

class Aspose::Email::Clients::Pop3::Commands::LoadMessageInfoListGrCommand
 
class Aspose::Email::Clients::Pop3::Pop3Client
 
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::Imap::Commands::FetchMessageInfoCollectionCommand
 
class Aspose::Email::Clients::Imap::ImapMessageInfo
 
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()

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

Initializes a new instance of the MessageInfoBase class.

Member Function Documentation

◆ Dispose()

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

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

◆ get_Bcc()

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

Gets blind carbon copy of the E-Mail message.

◆ get_CC()

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

Gets CC of the E-Mail message.

◆ get_From()

ASPOSE_EMAIL_SHARED_API 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()

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

Gets the Headers of the E-Mail message.

The headers.

◆ get_InternalMessage()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<MailMessage> Aspose::Email::Clients::MessageInfoBase::get_InternalMessage ( )

Gets the internal message.

◆ get_ListUnsubscribe()

ASPOSE_EMAIL_SHARED_API 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_Sender()

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

Gets the sender of this message.

The sender of this message.

◆ get_Size()

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

Gets the size of the E-Mail message.

The size of the E-Mail message.

◆ get_Subject()

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

Gets the Subject of the E-Mail message.

◆ get_To()

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

Gets the receiptants of the E-Mail message.

◆ set_Bcc()

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

Gets blind carbon copy of the E-Mail message.

◆ set_CC()

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

Gets CC of the E-Mail message.

◆ set_From()

ASPOSE_EMAIL_SHARED_API 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_InternalMessage()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Clients::MessageInfoBase::set_InternalMessage ( System::SharedPtr< MailMessage value)

Sets the internal message.

◆ set_ListUnsubscribe()

ASPOSE_EMAIL_SHARED_API 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_Sender()

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

Gets the sender of this message.

The sender of this message.

◆ set_Size()

ASPOSE_EMAIL_SHARED_API 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()

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

Gets the Subject of the E-Mail message.

◆ set_To()

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

Gets the receiptants of the E-Mail message.

◆ ToString()

virtual ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Clients::MessageInfoBase::ToString ( )
virtual

A string that represents the current object.

Returns
Returns a string that represents the current object.

Reimplemented in Aspose::Email::Clients::Imap::FINAL, Aspose::Email::Clients::Imap::FINAL, Aspose::Email::Clients::Pop3::FINAL, and Aspose::Email::Clients::Imap::FINAL.

Friends And Related Function Documentation

◆ 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::Imap::ImapMessageInfo

friend class Aspose::Email::Clients::Imap::ImapMessageInfo
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

friend class Aspose::Email::Clients::Pop3::Pop3Client
friend

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

friend class Aspose::Email::Clients::Pop3::Pop3MessageInfo
friend

Member Data Documentation

◆ internalMessage

System::SharedPtr<MailMessage> Aspose::Email::Clients::MessageInfoBase::internalMessage