10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi, we have a FTP server on vSphere on a windows 2008 server platform.
One of our Unix machines now cannot send files to it, we checked permissions etc.
Can login, when using put events.txt it gives a 550 Access Denied error.
Nothing has changed from yesterday when it was working apart from... (1 Reply)
Discussion started by: RonT
1 Replies
2. Homework & Coursework Questions
Creating a large number of rules such as 100000, iptables will produce errors after 42000 rules "iptables: Unknown error 18446744073709551615".
But another machine where i have debian virtual machine I can easily run the sciprt of 100000 of rules
I am waiting for your reply
4.... (1 Reply)
Discussion started by: tahirfattani
1 Replies
3. UNIX for Advanced & Expert Users
Not sure if this is the right forum and I apologies if not. I use Expression web to update our website on a UNIX server using SFTP.
I use the same laptop, software, that works fine when at home, but when I travel, I tend to get a unknown server error. I am suspecting that it has something to do... (2 Replies)
Discussion started by: ae3799t
2 Replies
4. Ubuntu
Is there any way to create an SMTP mail server will all granular permissions to it so that I can read emails which that server receives through any scripting language and also reply from the same server automatically? (3 Replies)
Discussion started by: sandeepcm
3 Replies
5. AIX
Hey everyone,
I have an issue where email is working fine in our Windows environments but is blowing up in our AIX environments.
Here is the related functions that are getting called:
int get_smtp_line( void )
{
char ch = '.';
char in_data ;
char * index;
int retval = 0;
... (4 Replies)
Discussion started by: ctote
4 Replies
6. 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
7. UNIX for Dummies Questions & Answers
I have sendmail setup to relay through my external ISP. Everything was working fine until I started getting the error message (below). I don't what I did to cause this? I have read a number of related posts and it appears that I might need to configure the sending address of my server to appear... (0 Replies)
Discussion started by: simonmason
0 Replies
8. UNIX for Advanced & Expert Users
Hi all,
While watching the log at /var/log/messages on a Centos 4.x box I keep seeing this come up
Jul 18 09:38:40 ws096 PAM_pwdb: check pass; user unknown
From what I understand this might be a ssh attack or am I wrong here?
The bad thing is that it does not show an IP address its... (1 Reply)
Discussion started by: mcraul
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am having an ftp script(runs in HP unix server) that connect to another server where we have different folders named as email addresses(eg."anarayana@yahoo.com").
Then it goes to each folder and put the file in that folder.
I found an error when remote folder is not created.
"550... (1 Reply)
Discussion started by: lnarayana
1 Replies
10. UNIX for Advanced & Expert Users
Hi
I try to configure snedmail as smtp for my solaris box. if the useres are local there's no problem everything's working fine, but is it outside, sendmail says it could find the host. why?! all other tools find diffrent host?
Could anyone tell me how I set up an easy mx ? So I test it with... (29 Replies)
Discussion started by: mrsaint
29 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)