Apr
09
Gmail does not allow unsecured connections to its SMTP server, if you are looking to use Gmail SMTP from Perl script then you will need to install Perl module Net::SMTP::TLS
Following lines of code can be used to establish connection with Google SMTP server
use Net::SMTP::TLS;
my $smtp = new Net::SMTP::TLS(
'smtp.gmail.com',
Port => 587
User => 'me@gmail.com',
Password=> 'Pazzw0rd');
This is the shizzle