in reply to Trouble getting Net::SMTP to work
Another thing, use debug in the SMTP initialization as well:
When you run the script with the debug, you should see much more output, hopefully showing you where your problem is...$smtp = Net::SMTP->new('smtpmail.server.com', Hello => 'company.com', Timeout => 30, Debug => 1); #Set to 0 in production version
|
|---|