Aspose::Email::Bounce::BounceResult Class Reference

Represents result of the message examination as a bounce message. More...

Inherits Object.

Public Member Functions

bool get_IsBounced () const
 True if email is a delivery failure or deliver delay report. More...
 
void set_IsBounced (bool value)
 True if email is a delivery failure or deliver delay report. More...
 
DSNAction get_Action () const
 Indicates the action performed as a result of attempt to deliver the message. More...
 
void set_Action (DSNAction value)
 Indicates the action performed as a result of attempt to deliver the message. More...
 
System::String get_Reason () const
 For a "failed" or "delayed" recipient, contains the actual diagnostic code issued by the mail transport. More...
 
void set_Reason (System::String value)
 For a "failed" or "delayed" recipient, contains the actual diagnostic code issued by the mail transport. More...
 
System::String get_Recipient () const
 Indicates the original recipient address as specified by the sender of the message for which the delivery failure report was issued. More...
 
void set_Recipient (System::String value)
 Indicates the original recipient address as specified by the sender of the message for which the delivery failure report was issued. More...
 
System::String get_Status () const
 Contains a transport-independent status code which indicates the delivery status of the message to that recipient. More...
 
void set_Status (System::String value)
 Contains a transport-independent status code which indicates the delivery status of the message to that recipient. More...
 
System::SharedPtr< MailMessageget_OriginalMessage () const
 Contains the original message. More...
 
void set_OriginalMessage (System::SharedPtr< MailMessage > value)
 Contains the original message. More...
 
bool get_IsEmpty ()
 
 BounceResult ()
 

Friends

class Aspose::Email::Bounce::BounceDetector
 

Detailed Description

Represents result of the message examination as a bounce message.

Constructor & Destructor Documentation

◆ BounceResult()

Aspose::Email::Bounce::BounceResult::BounceResult ( )

Member Function Documentation

◆ get_Action()

DSNAction Aspose::Email::Bounce::BounceResult::get_Action ( ) const

Indicates the action performed as a result of attempt to deliver the message.

◆ get_IsBounced()

bool Aspose::Email::Bounce::BounceResult::get_IsBounced ( ) const

True if email is a delivery failure or deliver delay report.

◆ get_IsEmpty()

bool Aspose::Email::Bounce::BounceResult::get_IsEmpty ( )

◆ get_OriginalMessage()

System::SharedPtr<MailMessage> Aspose::Email::Bounce::BounceResult::get_OriginalMessage ( ) const

Contains the original message.

◆ get_Reason()

System::String Aspose::Email::Bounce::BounceResult::get_Reason ( ) const

For a "failed" or "delayed" recipient, contains the actual diagnostic code issued by the mail transport.

◆ get_Recipient()

System::String Aspose::Email::Bounce::BounceResult::get_Recipient ( ) const

Indicates the original recipient address as specified by the sender of the message for which the delivery failure report was issued.

◆ get_Status()

System::String Aspose::Email::Bounce::BounceResult::get_Status ( ) const

Contains a transport-independent status code which indicates the delivery status of the message to that recipient.

◆ set_Action()

void Aspose::Email::Bounce::BounceResult::set_Action ( DSNAction  value)

Indicates the action performed as a result of attempt to deliver the message.

◆ set_IsBounced()

void Aspose::Email::Bounce::BounceResult::set_IsBounced ( bool  value)

True if email is a delivery failure or deliver delay report.

◆ set_OriginalMessage()

void Aspose::Email::Bounce::BounceResult::set_OriginalMessage ( System::SharedPtr< MailMessage value)

Contains the original message.

◆ set_Reason()

void Aspose::Email::Bounce::BounceResult::set_Reason ( System::String  value)

For a "failed" or "delayed" recipient, contains the actual diagnostic code issued by the mail transport.

◆ set_Recipient()

void Aspose::Email::Bounce::BounceResult::set_Recipient ( System::String  value)

Indicates the original recipient address as specified by the sender of the message for which the delivery failure report was issued.

◆ set_Status()

void Aspose::Email::Bounce::BounceResult::set_Status ( System::String  value)

Contains a transport-independent status code which indicates the delivery status of the message to that recipient.

Friends And Related Function Documentation

◆ Aspose::Email::Bounce::BounceDetector

friend class Aspose::Email::Bounce::BounceDetector
friend