madtoperl has asked for the wisdom of the Perl Monks concerning the following question:
While googled this issue, it seems the SMTP server port is blocked. Could you please let me know how can I solve this issue.Connection error from localhost on port 25 ()
use Mail::Sendmail; %mail = ( To => 'tom@xyz.com', From => 'jerry@xyz.com', Message => "This is a very short message" ); sendmail(%mail) or die $Mail::Sendmail::error; print "OK. Log says:\n", $Mail::Sendmail::log;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Send email without using SMTP server
by fmerges (Chaplain) on Nov 13, 2008 at 12:18 UTC | |
|
Re: Send email without using SMTP server
by jettero (Monsignor) on Nov 13, 2008 at 11:34 UTC | |
|