Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

email::sender::failure(3pm) [debian 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)

Check Out this Related Man Page

Email::Sender::Role::CommonSending(3pm) 		User Contributed Perl Documentation		   Email::Sender::Role::CommonSending(3pm)

NAME
Email::Sender::Role::CommonSending - the common sending tasks most Email::Sender classes will need VERSION
version 0.110005 DESCRIPTION
Email::Sender::Role::CommonSending provides a number of features that should ease writing new classes that perform the Email::Sender role. Instead of writing a "send" method, implementors will need to write a smaller "send_email" method, which will be passed an Email::Abstract object and envelope containing "from" and "to" entries. The "to" entry will be guaranteed to be an array reference. A "success" method will also be provided as a shortcut for calling: Email::Sender::Success->new(...); A few other minor details are handled by CommonSending; for more information, consult the source. The methods documented here may be overridden to alter the behavior of the CommonSending role. METHODS
prepare_email This method is passed a scalar and is expected to return an Email::Abstract object. You probably shouldn't override it in most cases. prepare_envelope This method is passed a hashref and returns a new hashref that should be used as the envelope passed to the "send_email" method. This method is responsible for ensuring that the to entry is an array. success ... return $self->success; This method returns a new Email::Sender::Success object. Arguments passed to this method are passed along to the Success's constructor. This is provided as a convenience for returning success from subclasses' "send_email" methods. 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::Role::CommonSending(3pm)
Man Page

14 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk - print file contents except regex

Hello, I have a file which has user information. Each user has 2 variables with the same name like Email: testuser1 Email: testuser1@test.com Email: testuser2 Email: testuser2@test.com My intention is to delete the ones without the '@' symbol. When I run this statement awk '/^Email:/&&!/@/'... (6 Replies)
Discussion started by: rmsagar
6 Replies

2. AIX

Automated Error Email Notification on AIX

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)
Discussion started by: filosophizer
7 Replies

3. Solaris

How to setup Email notification when storage reach certain % ?

(16 Replies)
Discussion started by: i-counsellor
16 Replies

4. Shell Programming and Scripting

Email sent to multiple user address?

hi all, This is user that i want sent the email: Email = allan@gmail.com bruce8899@gmail.com Chris@gmail.com echo "$dir : $filecount is over the limit $limit " | mailx -s "${SUBJECT}" "${email}" However it cannot sent to 3 user..only sent to 1 user email address. Any 1 can help me... (15 Replies)
Discussion started by: proghack
15 Replies

5. Solaris

Automatically Email Select Syslog Messages

Hi all, I'm using Solaris 10 and would like to know how I can monitor the /var/adm/messages file for certain message types, and email them upon detection. For example, I want to immediately email the IP-4-DUPADDR message as soon as it's generated so that people can respond to it ASAP. ... (9 Replies)
Discussion started by: wthomas
9 Replies

6. OS X (Apple)

Email broken

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)
Discussion started by: timgolding
8 Replies

7. Solaris

OPS Center Email Notifications

Hi, Does any one know how to configure email notifications (to exchange) in Oracle Enterprise Manager 11g OPS Center? I have gone through the documentation and have done everything it asked, but still no notifications via email. I get the following error: At the OS level i tried sending email... (20 Replies)
Discussion started by: Mack1982
20 Replies

8. UNIX for Dummies Questions & Answers

SCO Backup Failure

I fairly new to UNIX and LINUX. I am trying to resolve an issue with my SCO OpenServer Release 5. My backups are failing with the following error: cpio: MT_RECOVER failed for this device: Bad address (error 14) cpio: Error occurred during end-of-media operations. cpio: Please reissue the cpio... (9 Replies)
Discussion started by: ddsakline
9 Replies

9. Shell Programming and Scripting

Replace A File From Email Attachment

I am looking for a method that would allow me to replace an existing file with one from an email attachment. Any way of scripting this, so when an email comes in from a particular email id, it takes the attached file, and replaces an existing file. (6 Replies)
Discussion started by: evencustard
6 Replies

10. UNIX for Dummies Questions & Answers

Script output in Email is not showing Colored headers

Hi All I am working on AIX 7.1 and I am trying to show an output that I get from "cat" a log file to email. However in email I get the below output: In the script I have defined the colors as: #!/bin/sh echo "\033 Below is the script I have created to send this output: ... (9 Replies)
Discussion started by: Bubs
9 Replies

11. Shell Programming and Scripting

Email issue

hi all, i am not getting with the email attached not sure what wrong with the syntax can u help me out plz. cat notavailabltext.txt please reach to team for any issues. uuencode notavailable.txt notavailable.txt | mailx -m -s "Files are available" arun@trival.com < notavailabltext.txt (6 Replies)
Discussion started by: arun888
6 Replies

12. UNIX for Beginners Questions & Answers

Email alert when client in blacklist joins network

I have a textfile with a list of strings I want to monitor in my network. alertlist: hans franz tanzSo it can output for me whenever the a strings it matched: #!/bin/sh while : ; do testfile="/var/media/ftp/alertlist.txt" ] && echo "${testfile##*/} exists." || echo "${testfile##*/}... (9 Replies)
Discussion started by: lowmaster
9 Replies

13. UNIX for Beginners Questions & Answers

Email Alert in UNIX

Hi There I have to wrote a script where I am able to echo a result of an SQL script, however I want to be able to send an email to myself when it is more than 0 (so whenever a value is returned) is this possible? I tried one way from looking on the web but this didn't work, I have added my... (8 Replies)
Discussion started by: simpsa27
8 Replies

14. What is on Your Mind?

Prototyping New Responsive Mobile UNIX.COM

I'm working on updates to the mobile phone view, and it's going to look much better I think. Here are some current prototypes: Prototype Mobile Home Page: https://www.unix.com/members/1-albums214-picture690.jpg Prototype Mobile Search Page: ... (43 Replies)
Discussion started by: Neo
43 Replies