Jerome Eteve > Email-Postman-0.02 > Email::Postman::Report

Download:
Email-Postman-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Email-Postman-0.03

NAME ^

Email::Postman::Report - A report about sending a message to ONE email address.

about_email

The pure email address (like in Email::Address::address) this report is about.

timestamp

The creation <DateTime> of this report.

success

This was a success.

message

The message explaining the success (or the failure).

failed_at

In case of failure, the DateTime at which the failure happened.

set_failure_message

Shortcut to set the failure state AND the message at the same time.

Usage:

 $this->set_failure_message("Something went very wrong");

reset

Resets this report success and message.

failure

Opposite of success.

syntax highlighting: