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.
In reply to Problem sending Gmail from Widows 10 by haprst
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |