I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-04-24 17:28:03-07 by tonyanony in response to 10529
Re: Problems using SMTP by gmail.com
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};
Direct Responses: 13601 | Write a response