|
I was able to patch Notify.pm which made it work just fine with smtp.gmail.com at port 465.
old code:
# my $smtp = $smtp_class->new(
# $notifier->{smtp},
# ( $notifier->{verbose} > 1 ? ( Debug => 1 ) : ())
# ) or die "Unable to create $smtp_class object: $!";
#
# $smtp->auth( @{ $notifier }{qw(smtp_authtype smtp_user smtp_pass)} )
# if $notifier->{smtp_user};
#
new code:
my $smtp = Net::SMTP::SSL->new('smtp.gmail.com',
Port => 465,
Debug => 1) ;
$smtp->auth( @{ $notifier }{qw(smtp_user smtp_pass)} )
if $notifier->{smtp_user};
|