Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: SMTP authentication miseryby pileofrogs (Priest) |
on Nov 20, 2009 at 17:45 UTC ( [id://808485]=note: print w/replies, xml ) | Need Help?? |
I'm just guessing here, so please feel free to slap/--/throw-a-brick-at me. Looking at the dump, the "plain" password doesn't look plain to me. If it was plain it would be 'plaintext_pw_here'. You probably want to run the auth_types() function from Net::SMTP_auth to find out exactly what values you can use for the auth type when interacting with that server. This isn't a guess. I read that in the docs. Lastly, SMTP is dirt simple and you can do it from telnet (eg telnet hostname 25). You may want to look at the RFC and try it out. It's fun and it helps you debugging problems like this if you've done it once or twice by hand. Post-lastly, if you're writing a CGI that sends email, make sure it's damn secure. I'm an admin at a community colleges, which means insecure scripts all over the place, and baddies will find insecure scripts and you will get blackholed as a spammer if your scripts are exploited.
In Section
Seekers of Perl Wisdom
|
|