Subject: | verify errors with Email-Send-SMTP-Gmail-0.32 |
Date: | Tue, 4 Dec 2012 18:11:10 -0800 |
To: | bug-email-send-smtp-gmail [...] rt.cpan.org |
From: | blakesteel <blakesteel [...] gmail.com> |
Using the synopsis example code on the Email-Send-SMTP-Gmail-0.32 site,
with the values altered to point to the corrent login/password/etc values,
I receive the errors pasted below:
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;
perl sendgmail3.pl
connecting....
*******************************************************************
Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client
is depreciated! Please set SSL_verify_mode to SSL_VERIFY_PEER
together with SSL_ca_file|SSL_ca_path for verification.
If you really don't want to verify the certificate and keep the
connection open to Man-In-The-Middle attacks please set
SSL_verify_mode explicitly to SSL_VERIFY_NONE in your application.
*******************************************************************
at Gmail.pm line 36.
Terminating on signal SIGINT(2)
Please advise.