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');

Related posts:

  1. Check Gmail on Mobile Almost all of the top notch email providers have their...
  2. Gmail now showing logon IP address I noticed it yesterday that now Gmail is showing the...
  3. FTP Files from Shell Script Here is a sample bash or shell script that will...
  4. How to run a FTP script in Windows? Not only Windows has a built-in command line FTP utility...
  5. The New Google Talk Messenger. I had downloaded and installed the Google Chat client the...
  6. Dropping Wireless Connection When you are having problems with your wireless connection and...

Trackback

no comment untill now

Add your comment now