in reply to Gmail ssl pop mail stopped working. (SOLVED)
#!/usr/bin/perl use warnings; use strict; use Email::Send::SMTP::Gmail; # uses ssl connection on port 465, even though the module name # nor the module's perldoc mentions ssl. You have to read the module # source to see it my $mail=Email::Send::SMTP::Gmail->new( -smtp=>'gmail.com', -login=>'me@gmail.com', -pass=>'foobarbaz'); $mail->send(-to=>'me@gmail.com', -subject=>'Hello ssl smtp test', -verbose=>'1', -body=>'Just testing it', # -attachments=>'full_path_to_file', ); $mail->bye;
|
|---|