Abby has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use CGI; use CGI::Carp qw(fatalsToBrowser); use Mail::Mailer::sendmail; %mail = ( To => 'me@myisp.com', From => 'info@mywebsite.com', Message => "This is a very short message" ); sendmail(%mail) or die $Mail::Mailer::sendmail::error; print "OK. Log says:\n", $Mail::Mailer::sendmail::log;
Edited by Chady -- added code tags.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mail::Mailer::sendmail woes
by Belgarion (Chaplain) on May 01, 2004 at 04:47 UTC | |
|
Re: Mail::Mailer::sendmail woes
by markov (Scribe) on May 01, 2004 at 10:28 UTC | |
|
Re: Mail::Mailer::sendmail woes
by b10m (Vicar) on May 01, 2004 at 11:19 UTC | |
|
Re: Mail::Mailer::sendmail woes
by gmpassos (Priest) on May 01, 2004 at 17:55 UTC | |
by Errto (Vicar) on May 02, 2004 at 02:30 UTC | |
by gmpassos (Priest) on May 02, 2004 at 14:32 UTC | |
|
Re: Mail::Mailer::sendmail woes
by chanio (Priest) on May 01, 2004 at 05:51 UTC |