email::sender::transport::test(3pm) [debian man page]
Email::Sender::Transport::Test(3pm) User Contributed Perl Documentation Email::Sender::Transport::Test(3pm)NAME
Email::Sender::Transport::Test - deliver mail in memory for testing
VERSION
version 0.110005
DESCRIPTION
This transport is meant for testing email deliveries in memory. It will store a record of any delivery made so that they can be inspected
afterward.
ATTRIBUTES
deliveries
By default, the Test transport will not allow partial success and will always succeed. It can be made to fail predictably, however, if it
is extended and its "recipient_failure" or "delivery_failure" methods are overridden. These methods are called as follows:
$self->delivery_failure($email, $envelope);
$self->recipient_failure($to);
If they return true, the sending will fail. If the transport was created with a true "allow_partial_success" attribute, recipient failures
can cause partial success to be returned.
For more flexible failure modes, you can override more aggressively or can use Email::Sender::Transport::Failable.
This attribute stores an arrayref of all the deliveries made via the transport. It can be emptied by calling "clear_deliveries".
Each delivery is a hashref, in the following format:
{
email => $email,
envelope => $envelope,
successes => @ok_rcpts,
failures => @failures,
}
Both successful and failed deliveries are stored.
AUTHOR
Ricardo Signes <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-03-06 Email::Sender::Transport::Test(3pm)
Check Out this Related Man Page
Email::Sender::Failure(3pm) User Contributed Perl Documentation Email::Sender::Failure(3pm)NAME
Email::Sender::Failure - a report of failure from an email sending transport
VERSION
version 0.110005
ATTRIBUTES
message
This method returns the failure message, which should describe the failure. Failures stringify to this message.
code
This returns the numeric code of the failure, if any. This is mostly useful for network protocol transports like SMTP. This may be
undefined.
recipients
This returns a list (or, in scalar context, an arrayref) of addresses to which the email could not be sent.
METHODS
throw
This method can be used to instantiate and throw an Email::Sender::Failure object at once.
Email::Sender::Failure->throw(\%arg);
Instead of a hashref of args, you can pass a single string argument which will be used as the "message" of the new failure.
SEE ALSO
o Email::Sender::Permanent
o Email::Sender::Temporary
o Email::Sender::Multi
AUTHOR
Ricardo Signes <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-03-06 Email::Sender::Failure(3pm)
Hi guys,
I have two files . One file contains log record and another file contains emailids which is supposed to send it users
File1 :
Name : abc_xyz_data.txt
Which contains log record
File 2 :
Name : abc_xyz_mailids.txt
Which contains emailids.
abc@test.com
bcd@test.com
I... (4 Replies)
Hello Folks,
I would like to setup automated error email notifications for any hardware + software + Hacmp errors.
How can I do it ?
I have searched on the internet, i have found something like a script erronotifier or something like that...
P.S. I don't want to use a third party... (7 Replies)
Hello, i have a requirement where i need to create a script which would check for a file name called XX_YYYY_ZZ in the directory inbound and as soon as the file is delivered in this directory a email needs to be sent to a user abc@yahoo.com
The plan is to put script in the core process to run... (8 Replies)
Hi Everyone,
This is a pretty big request, but I was wondering if anyone out there has a program written in C, Perl, Tcl or whatever that can be executed from the command line and will send HL7 messages from a NL delimited file and send them to the specifid host/port using the MLLP HL7 TCP... (1 Reply)
Discussion started by: troym72
1 Replies
5. Post Here to Contact Site Administrators and Moderators
Hi my email appears to be broken. Well the whole server is barley responding. I can log in through ssh and look at the system.log file
sudo tail -f -n 1000 /var/log/system.log
When i do this the errors being recorded is off the scale. E.g 100's of entries per second. The errors are... (8 Replies)
I am using mailx command to send emails from the Unix command prompt. Whenever email is not sent it is not giving me any message "Email not sent" or failure delivery notice for the wrong email addresses. When I give correct email address I am able to receive them correctly.
Can anyone please... (5 Replies)
I'm scanning a list of emails- I need to pull 2 pieces of data, then move to the next file:
Sender's Email Address
Email Date
I need these to be outputted into a single column- separated by a ",". Like this:
Email1's Address, Email1's Date Stamp
Email2's Address, Email2's Date Stamp... (4 Replies)
Hi,
I was just working on the new usercp and found that the "change your email address" function does not seem to work. In fact, it seems like it has never worked when I look at the code and the database. There seems to be some code missing from a decade ago, but I could be wrong.
Could... (9 Replies)