haprst has asked for the wisdom of the Perl Monks concerning the following question:
In the past I could send emails using sendEmail.pl. I recently was forced to upgrade to Windows 10, and I changed to Strawberry instead of ActivePerl. Meanwhile I think Gmail disabled SSL. The result is I can't get email working. My latest attempt was this for a start:
use strict; use warnings; use Email::Send::SMTP::Gmail; my ($mail,$error)=Email::Send::SMTP::Gmail->new ( -smtp=>'smtp.gmail.com', -login=>'MYGMAILNAME@gmail.com', -pass=>'MYPASSWORD', -port=>587, -layer=> 'tls', -verbose=>1, -debug=>1 );
The result is 19 good messages followed by 2 bad messages. Starting at message 18, here's what I see:
Net::SMTPS=GLOB(0x2c8b140>>>> STARTTLS Net::SMTPS=GLOB(0x2c8b140>>>> 220 2.0.0 Ready to start TLS DEBUG: .../IO/Socket/SSL.pm:525 global error: SSL Version SSLv2 not su +pported Could not connect to SMTP server
Why is it still referring to SSL and how did port 525 get there? Please give me a simple solution, as I'm 75 years old and running out of time. Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem sending Gmail from Widows 10
by Corion (Patriarch) on Nov 09, 2015 at 18:17 UTC | |
by haprst (Initiate) on Nov 14, 2015 at 16:40 UTC | |
by afoken (Chancellor) on Nov 14, 2015 at 18:29 UTC | |
|
Re: Problem sending Gmail from Widows 10
by james28909 (Deacon) on Nov 10, 2015 at 01:11 UTC | |
|
Re: Problem sending Gmail from Widows 10
by Anonymous Monk on Nov 14, 2015 at 21:10 UTC | |
|
Re: Problem sending Gmail from Widows 10
by aquacade (Scribe) on Nov 12, 2015 at 22:10 UTC |