http://www.perlmonks.org?node_id=916306


in reply to Re: Sending email via Gmail
in thread Sending email via Gmail

You're right, using "localhost" is a bad idea but i'm sure this is not an issue here because same code is working on another machine.