This is driving me nuts.
I'm use Net::SMTP, and have been for a few weeks now. It works fine from my machine, but I'm rebooting/rebuilding etc. pretty constantly, so I need to run it from a more stable machine.
I was never able to get it to run off of a server I've got, but goofed around enough last night to where it worked (I don't know how). Now, this morning it isn't working again. :(
After digging around, it seems that when I use a mail client, it caches my password, so i can send it out w/ authentication. (I just started a mail client on this server, sent a test mail, closed the client, tried my script again, and it worked.)
I remember looking around and finding the syntax for sending an authorized mail w/ Net::SMTP, but can't seem to find it. I guess in short, I'm asking for that syntax.
Something like
$smtp->authen('me@me.com' 'password')
if memory serves. I have installed Authen.pm as well.
Not that great of a solution though as I need to make an extra mail account who's password I don't mind being out in the open.