in reply to Re: Send email via Gmail
in thread Send email via Gmail
With the debug on, I get this error (and no email sent);use Net::SMTP; my $smtp = Net::SMTP->new('smtp.gmail.com', Hello => 'smtp.gmail.com', Timeout => 30, Debug => 1, SSL => 1, ); $smtp->auth($CFG->{db_smtp_user}, $CFG->{db_smtp_pass}); $smtp->data(); $smtp->datasend($email); $smtp->dataend();
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Send email via Gmail
by hippo (Archbishop) on Oct 08, 2016 at 14:04 UTC | |
by ultranerds (Hermit) on Oct 08, 2016 at 14:18 UTC | |
by hippo (Archbishop) on Oct 08, 2016 at 14:55 UTC |