costas has asked for the wisdom of the Perl Monks concerning the following question:
I get the resultuse Mail::Sendmail; my %mail = ( To => 'costas@othermedia.com', Subject => 'Test message', From => 'costas@othermedia.com', Message => "This is a very short message" ); $mail{smtp} = 'my.mail.server'; sendmail(%mail) || print "Error sending mail: $Mail::Sendmail::error\n +"; print "OK. Log says:\n", $Mail::Sendmail::log;
I am however getting no mail in my inbox. I have also tried without $mail{smtp} = 'my.mail.server'; but it still doesnt workOK. Log says: Mail::Sendmail v. 0.78 - Fri Jun 1 14:04:29 2001 Date: Fri, 1 Jun 2001 14:04 +0100
2001-06-02 Edit by Corion : Changed title
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mail::Sendmail
by jepri (Parson) on Jun 01, 2001 at 18:03 UTC | |
by petdance (Parson) on Jun 01, 2001 at 18:46 UTC | |
|
Re: Mail::Sendmail
by malloc (Pilgrim) on Jun 01, 2001 at 18:35 UTC | |
|
Re: Mail::Sendmail
by jorg (Friar) on Jun 01, 2001 at 18:08 UTC |