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(
        Port    =>      587
        User    =>      '',
        Password=>      'Pazzw0rd');


only 1 comment untill now

  1. This is the shizzle

Add your comment now