Sending Mail Through Gmail with Perl
Mon, Jul 6, 2009
We talked about some of the benefits of setting up an email server in Linux and how you can use python to send email. Now we are going to look at how you can send email from Perl.
my $mailer = new Net::SMTP::TLS(
Hello => 'smtp.gmail.com',
Port => 587,
User => 'username',
$mailer->datasend("Sent from perl!");