markhunnibell has asked for the wisdom of the Perl Monks concerning the following question:
All the DEBUG information prior to that looked OK to my untrained eye, including the authentication, but the above feedback seemed to be why my messages were being black holed. I figured it was some misconfiguration of the mail server at GoDaddy. But I continued to research and found the Net::SMTP_auth module. Getting this installed turned into a small fiasco because it supports a bunch of encryption standards involving module dependencies I did not have, but I finally got it fired up and working and then I tested it out with the GoDaddy service. What I found is this:Net::SMTP=GLOB(0x180f4a0)>>> RCPT TO:<joesmith@foo.com> Net::SMTP=GLOB(0x180f4a0)<<< 553 Sorry, that domain isn't in my list o +f allowed rcpthosts. Net::SMTP=GLOB(0x180f4a0)>>> DATA Net::SMTP=GLOB(0x180f4a0)<<< 503 You must send RCPT TO: first
use Net::SMTP_auth; $smtp = "smtpout.secureserver.net:3535"; $username = 'joesmith@foo.com'; $password = 'gsx5f3d3'; $smtp = Net::SMTP_auth->new("$smtp"); $smtp->auth('PLAIN', $username, $password);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Net::SMTP with GoDaddy's Relay Server
by Corion (Patriarch) on Jul 18, 2007 at 11:08 UTC |