10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please help me in putting a trace on shell script running in AIX
Best regards,
Vishal (3 Replies)
Discussion started by: Vishal_dba
3 Replies
2. AIX
Please help, i can not to send email from AIX 6.1 to outside network through STMP - Exchange. Any one can help ? (1 Reply)
Discussion started by: ichsan
1 Replies
3. Shell Programming and Scripting
i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies
4. UNIX for Advanced & Expert Users
Hello,
I execute an application on my Unix AIX Server and that one crashes after reading some files. These files are very big (80 Mbytes), the application is a CVS Repository.
I have found with a comparaison on a Solaris Server that there are system limitations on my AIX Server in the... (2 Replies)
Discussion started by: steiner
2 Replies
5. Solaris
Hi
I would like to display only error messages from my log files while monotring application on my solaris box using tail command.
Is there other way we can monitor please let me know?
In general # tail -f "xyz.log' ---> this will display current activity of the logs, instead i would like... (4 Replies)
Discussion started by: gkrishnag
4 Replies
6. AIX
Hello,
Looking for Document how to install / configure SMTP Server on AIX 6.1
is it through smitty menu ? (3 Replies)
Discussion started by: filosophizer
3 Replies
7. AIX
I remember there is a command can trace what I have done on aix. such as when I run smitty user to add a new user, run any command on aix, install some application software on aix, just like trace every step and every screen out to a file.
I forget what command is, does anyone know it? (6 Replies)
Discussion started by: rainbow_bean
6 Replies
8. AIX
how do i turn on aix43 history command? so that i could recall the command with <esc>+k.
thanks (3 Replies)
Discussion started by: itik
3 Replies
9. AIX
Greetings. . .Can anyone out there explain how I would turn off the telnet service and close the telnet port on a AIX system?
Thank you,
outta. (2 Replies)
Discussion started by: outtacontrol
2 Replies
10. UNIX for Advanced & Expert Users
In my organization in order for anyone to go to any Unix server they have to go through "SERVER A" and login as themselves.
Then people are free to go enywhere they please.
For example:
SERVER A, loggs in as himself
telnets to SERVER B, loggs in as guest
telnets to SERVER C, loggs in as... (8 Replies)
Discussion started by: jraitsev
8 Replies
Email::Send::SMTP(3pm) User Contributed Perl Documentation Email::Send::SMTP(3pm)
NAME
Email::Send::SMTP - Send Messages using SMTP
SYNOPSIS
use Email::Send;
my $mailer = Email::Send->new({mailer => 'SMTP'});
$mailer->mailer_args([Host => 'smtp.example.com:465', ssl => 1])
if $USE_SSL;
$mailer->send($message);
DESCRIPTION
This mailer for "Email::Send" uses "Net::SMTP" to send a message with an SMTP server. The first invocation of "send" requires an SMTP
server arguments. Subsequent calls will remember the the first setting until it is reset.
Any arguments passed to "send" will be passed to "Net::SMTP->new()", with some exceptions. "username" and "password", if passed, are used
to invoke "Net::SMTP->auth()" for SASL authentication support. "ssl", if set to true, turns on SSL support by using "Net::SMTP::SSL".
SMTP can fail for a number of reasons. All return values from this package are true or false. If false, sending has failed. If true, send
succeeded. The return values are "Return::Value" objects, however, and contain more information on just what went wrong.
Here is an example of dealing with failure.
my $return = send SMTP => $message, 'localhost';
die "$return" if ! $return;
The stringified version of the return value will have the text of the error. In a conditional, a failure will evaluate to false.
Here's an example of dealing with success. It is the case that some email addresses may not succeed but others will. In this case, the
return value's "bad" property is set to a list of bad addresses.
my $return = send SMTP => $message, 'localhost';
if ( $return ) {
my @bad = @{ $return->prop('bad') };
warn "Failed to send to: " . join ', ', @bad
if @bad;
}
For more information on these return values, see Return::Value.
ENVELOPE GENERATION
The envelope sender and recipients are, by default, generated by looking at the From, To, Cc, and Bcc headers. This behavior can be
modified by replacing the "get_env_sender" and "get_env_recipients" methods, both of which receive the Email::Simple object and their only
parameter, and return email addresses.
SEE ALSO
Email::Send, Net::SMTP, Net::SMTP::SSL, Email::Address, Return::Value, perl.
AUTHOR
Current maintainer: Ricardo SIGNES, <rjbs@cpan.org>.
Original author: Casey West, <casey@geeknest.com>.
COPYRIGHT
Copyright (c) 2004 Casey West. All rights reserved.
This module is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
perl v5.12.4 2009-07-12 Email::Send::SMTP(3pm)