Email::Send::SMTP::Gmail

Sends emails with attachments using Google's SMTP (or any other SMTP server)
Download

Email::Send::SMTP::Gmail Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Juan Jose San Martin
  • Publisher web site:
  • http://search.cpan.org/~peco/

Email::Send::SMTP::Gmail Tags


Email::Send::SMTP::Gmail Description

Email::Send::SMTP::Gmail is a simple Perl module to send emails through Google's SMTP with or without attachments. Works with regular Gmail accounts as with Google Apps (your own domains). It supports basic functions such as CC, BCC, ReplyTo.new(-login=>'', -pass=>'' ) It creates the object and opens a session with the SMTP.send(-to=>'', ) It composes and sends the email in one shot to, cc, bcc: comma separated email addresses attachments: comma separated files with full pathbye Closes the SMTP sessionSYNOPSIS use strict; use warnings; use Email::Send::SMTP::Gmail; my $mail=Email::Send::SMTP::Gmail->new( -smtp=>'smtp.gmail.com', -login=>'whateveraddress@gmail.com', -pass=>'whatever_pass'); $mail->send(-to=>'target@xxx.com', -subject=>'Hello!', -charset=>'UTF-8' -verbose=>'1', -body=>'Just testing it', -attachments=>'full_path_to_file'); $mail->bye;Product's homepage


Email::Send::SMTP::Gmail Related Software