in reply to Trouble getting Net::SMTP to work
I would suspect that the mail server is not accepting your connection for some reason - to be sure you can turn on the debugging output in the constructor by changing it to:
If this does not produce any output then it is likely that there is a network problem - either the address of the mail server cannot be resolved or you cannot connect to the server for some other reason. You could try connecting to port 25 of the server using telnet from the command line.$smtp = Net::SMTP->new('smtpmail.server.com', Debug => 1);
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Trouble getting Net::SMPT to work
by yankeeblue (Novice) on Apr 20, 2005 at 15:10 UTC | |
by yankeeblue (Novice) on Apr 26, 2005 at 17:35 UTC |