Skip Menu |

This queue is for tickets about the Email-Send-SMTP-Gmail CPAN distribution.

Report information
The Basics
Id: 75663
Status: resolved
Priority: 0/
Queue: Email-Send-SMTP-Gmail

People
Owner: PECO [...] cpan.org
Requestors: alexandrea514 [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bug : Email-Send-SMTP-Gmail ?
Date: Fri, 9 Mar 2012 22:27:18 -0500
To: <bug-email-send-smtp-gmail [...] rt.cpan.org>
From: alexandre 514 <alexandrea514 [...] hotmail.com>
Hi, I was using an old version of Perl and I had to reinstall a new one. I was not able to make this module work again : Email-Send-SMTP-Gmail ------------------------------------------------- Error message Tk::Error: Authentication (SMTP) failed ------------------------------------------------- Module Email-Send-SMTP-Gmail Version: 0.24 CPAN: http://search.cpan.org/dist/Email-Send-SMTP-Gmail-0.24/ Installed files: C:/Perl/html/site/lib/Email/Send/SMTP/Gmail.html C:/Perl/site/lib/Email/Send/SMTP/Gmail.pm C:/Perl/site/lib/auto/Email/Send/SMTP/Gmail/.packlist ------------------------------------------------- Perl version This is perl 5, version 12, subversion 4 (v5.12.4) built for MSWin32-x86-multi-thread (with 9 registered patches, see perl -V for more detail) Copyright 1987-2010, Larry Wall Binary build 1205 [294981] provided by ActiveState http://www.ActiveState.com Built Jun 20 2011 18:35:25 ------------------------------------------------- OS Windows XP Professional version 2002 with SP3 ------------------------------------------------- Module detail To be sure, I used your Perl script and I changed the email adresses and password. Notice that the last time I used it (Dec 2011) it worked fine. I'm using it for 2 or 3 years. I triple checked my Gmail username/password. Thanks for help. Do not hesitate for any further information. Alex
Subject: [rt.cpan.org #75663] Bug : Email-Send-SMTP-Gmail ?
Date: Fri, 9 Mar 2012 22:33:18 -0500
To: <bug-email-send-smtp-gmail [...] rt.cpan.org>
From: alexandre 514 <alexandrea514 [...] hotmail.com>
Hi, I forget to join the messages. Here they are: Tk::Error: Authentication (SMTP) failed Email::Send::SMTP::Gmail::_initsmtp at C:/Perl/site/lib/Email/Send/SMTP/Gmail.pm line 35 Email::Send::SMTP::Gmail::new at C:/Perl/site/lib/Email/Send/SMTP/Gmail.pm line 19 main::Send_Courriel at MaBourse.pl line 5552 main::Test_Test at MaBourse.pl line 1203 Tk callback for .notebook.visualisation.frame5.button Tk::__ANON__ at C:/Perl/site/lib/Tk.pm line 250 Tk::Button::butUp at C:/Perl/site/lib/Tk/Button.pm line 175 <ButtonRelease-1> (command bound to event) Thanks Alex Show quoted text
> Subject: [rt.cpan.org #75663] AutoReply: Bug : Email-Send-SMTP-Gmail ? > From: bug-Email-Send-SMTP-Gmail@rt.cpan.org > To: alexandrea514@hotmail.com > Date: Fri, 9 Mar 2012 22:27:29 -0500 > > > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Bug : Email-Send-SMTP-Gmail ?", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #75663]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=75663 > > Please include the string: > > [rt.cpan.org #75663] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-Email-Send-SMTP-Gmail@rt.cpan.org > > ------------------------------------------------------------------------- > > Hi, > > I was using an old version of Perl and I had to reinstall a new one. > I was not able to make this module work again : Email-Send-SMTP-Gmail > > ------------------------------------------------- Error message > Tk::Error: Authentication (SMTP) failed > > ------------------------------------------------- Module > Email-Send-SMTP-Gmail > Version: 0.24 > CPAN: http://search.cpan.org/dist/Email-Send-SMTP-Gmail-0.24/ > Installed files: > C:/Perl/html/site/lib/Email/Send/SMTP/Gmail.html > C:/Perl/site/lib/Email/Send/SMTP/Gmail.pm > C:/Perl/site/lib/auto/Email/Send/SMTP/Gmail/.packlist > > ------------------------------------------------- Perl version > This is perl 5, version 12, subversion 4 (v5.12.4) built for MSWin32-x86-multi-thread > (with 9 registered patches, see perl -V for more detail) > Copyright 1987-2010, Larry Wall > Binary build 1205 [294981] provided by ActiveState http://www.ActiveState.com > Built Jun 20 2011 18:35:25 > > ------------------------------------------------- OS > Windows XP Professional version 2002 with SP3 > > ------------------------------------------------- Module detail > To be sure, I used your Perl script and I changed the email adresses and password. > Notice that the last time I used it (Dec 2011) it worked fine. I'm using it for 2 or 3 years. > I triple checked my Gmail username/password. > > > > Thanks for help. > Do not hesitate for any further information. > > Alex > > > > > > > >
Hi, Please, for debugging purposes run the next simple (an isolated) script with the Debug flag enabled and your own login/pass. #!/usr/bin/perl use Email::Send::SMTP::Gmail; my $mail=Gmail->new(-smtp=>'gmail.com',-login=>'login',-pass=>'xxx',-debug=>'1'); print "Connect?\n"; I hope that the output show us the issue. Thanks, Peco On Fri Mar 09 22:27:28 2012, alexandrea514@hotmail.com wrote: Show quoted text
> > Hi, > > I was using an old version of Perl and I had to reinstall a new one. > I was not able to make this module work again : Email-Send-SMTP-Gmail > > ------------------------------------------------- Error message > Tk::Error: Authentication (SMTP) failed > > ------------------------------------------------- Module > Email-Send-SMTP-Gmail > Version: 0.24 > CPAN: http://search.cpan.org/dist/Email-Send-SMTP-Gmail-0.24/ > Installed files: > C:/Perl/html/site/lib/Email/Send/SMTP/Gmail.html > C:/Perl/site/lib/Email/Send/SMTP/Gmail.pm > C:/Perl/site/lib/auto/Email/Send/SMTP/Gmail/.packlist > > ------------------------------------------------- Perl version > This is perl 5, version 12, subversion 4 (v5.12.4) built for MSWin32- > x86-multi-thread > (with 9 registered patches, see perl -V for more detail) > Copyright 1987-2010, Larry Wall > Binary build 1205 [294981] provided by ActiveState > http://www.ActiveState.com > Built Jun 20 2011 18:35:25 > > ------------------------------------------------- OS > Windows XP Professional version 2002 with SP3 > > ------------------------------------------------- Module detail > To be sure, I used your Perl script and I changed the email adresses > and password. > Notice that the last time I used it (Dec 2011) it worked fine. I'm > using it for 2 or 3 years. > I triple checked my Gmail username/password. > > > > Thanks for help. > Do not hesitate for any further information. > > Alex > > > > > > >
Hi, I'm not sure how you upgraded your Perl version, but please, take in consideration that Email-Send-SMTP-Gmail depends on Net::SMTP_Auth package Missing this package will produce a logon failure. These dependences should be checked during the standard installation from CPAN. Hope this helps. Peco On Sat Mar 10 05:19:34 2012, PECO wrote: Show quoted text
> > Hi, > > Please, for debugging purposes run the next simple (an isolated) > script > with the Debug flag enabled and your own login/pass. > > #!/usr/bin/perl > use Email::Send::SMTP::Gmail; > my > $mail=Gmail->new(-smtp=>'gmail.com',-login=>'login',-pass=>'xxx',- > debug=>'1'); > print "Connect?\n"; > > I hope that the output show us the issue. > > Thanks, > Peco > > > On Fri Mar 09 22:27:28 2012, alexandrea514@hotmail.com wrote:
> > > > Hi, > > > > I was using an old version of Perl and I had to reinstall a new one. > > I was not able to make this module work again : Email-Send-SMTP-
> Gmail
> > > > ------------------------------------------------- Error message > > Tk::Error: Authentication (SMTP) failed > > > > ------------------------------------------------- Module > > Email-Send-SMTP-Gmail > > Version: 0.24 > > CPAN: http://search.cpan.org/dist/Email-Send-SMTP-Gmail-0.24/ > > Installed files: > > C:/Perl/html/site/lib/Email/Send/SMTP/Gmail.html > > C:/Perl/site/lib/Email/Send/SMTP/Gmail.pm > > C:/Perl/site/lib/auto/Email/Send/SMTP/Gmail/.packlist > > > > ------------------------------------------------- Perl version > > This is perl 5, version 12, subversion 4 (v5.12.4) built for
> MSWin32-
> > x86-multi-thread > > (with 9 registered patches, see perl -V for more detail) > > Copyright 1987-2010, Larry Wall > > Binary build 1205 [294981] provided by ActiveState > > http://www.ActiveState.com > > Built Jun 20 2011 18:35:25 > > > > ------------------------------------------------- OS > > Windows XP Professional version 2002 with SP3 > > > > ------------------------------------------------- Module detail > > To be sure, I used your Perl script and I changed the email adresses > > and password. > > Notice that the last time I used it (Dec 2011) it worked fine. I'm > > using it for 2 or 3 years. > > I triple checked my Gmail username/password. > > > > > > > > Thanks for help. > > Do not hesitate for any further information. > > > > Alex > > > > > > > > > > > > > >
> >
Subject: RE: [rt.cpan.org #75663] Bug : Email-Send-SMTP-Gmail ?
Date: Sat, 10 Mar 2012 12:55:57 -0500
To: <bug-email-send-smtp-gmail [...] rt.cpan.org>
From: alexandre 514 <alexandrea514 [...] hotmail.com>
Hello Peco, First, thanks for your quick reply. You pointed the right missing package: Net::SMTP_Auth. So now it works with my script and the one you provide as example on Cpan. The one you provide in this email does NOT. The issue is on the NEW syntax: Works : my $mail=Email::Send::SMTP::Gmail->new(... Does not work : my $mail=Gmail->new(... I'm getting this error: Can't locate object method "new" via package "Gmail" (perhaps you forgot to load "Gmail"?) at Email_SMTP_Gmail_DEBUG.pl line 3. I hope it's a mistake. Thanks for your time. Best regards. Alex Show quoted text
> Subject: [rt.cpan.org #75663] Bug : Email-Send-SMTP-Gmail ? > From: bug-Email-Send-SMTP-Gmail@rt.cpan.org > To: alexandrea514@hotmail.com > Date: Sat, 10 Mar 2012 06:14:14 -0500 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=75663 > > > Hi, > > I'm not sure how you upgraded your Perl version, but please, take in > consideration that Email-Send-SMTP-Gmail depends on > > Net::SMTP_Auth package > > Missing this package will produce a logon failure. > > These dependences should be checked during the standard installation > from CPAN. > > Hope this helps. > Peco > > > > > On Sat Mar 10 05:19:34 2012, PECO wrote:
> > > > Hi, > > > > Please, for debugging purposes run the next simple (an isolated) > > script > > with the Debug flag enabled and your own login/pass. > > > > #!/usr/bin/perl > > use Email::Send::SMTP::Gmail; > > my > > $mail=Gmail->new(-smtp=>'gmail.com',-login=>'login',-pass=>'xxx',- > > debug=>'1'); > > print "Connect?\n"; > > > > I hope that the output show us the issue. > > > > Thanks, > > Peco > > > > > > On Fri Mar 09 22:27:28 2012, alexandrea514@hotmail.com wrote:
> > > > > > Hi, > > > > > > I was using an old version of Perl and I had to reinstall a new one. > > > I was not able to make this module work again : Email-Send-SMTP-
> > Gmail
> > > > > > ------------------------------------------------- Error message > > > Tk::Error: Authentication (SMTP) failed > > > > > > ------------------------------------------------- Module > > > Email-Send-SMTP-Gmail > > > Version: 0.24 > > > CPAN: http://search.cpan.org/dist/Email-Send-SMTP-Gmail-0.24/ > > > Installed files: > > > C:/Perl/html/site/lib/Email/Send/SMTP/Gmail.html > > > C:/Perl/site/lib/Email/Send/SMTP/Gmail.pm > > > C:/Perl/site/lib/auto/Email/Send/SMTP/Gmail/.packlist > > > > > > ------------------------------------------------- Perl version > > > This is perl 5, version 12, subversion 4 (v5.12.4) built for
> > MSWin32-
> > > x86-multi-thread > > > (with 9 registered patches, see perl -V for more detail) > > > Copyright 1987-2010, Larry Wall > > > Binary build 1205 [294981] provided by ActiveState > > > http://www.ActiveState.com > > > Built Jun 20 2011 18:35:25 > > > > > > ------------------------------------------------- OS > > > Windows XP Professional version 2002 with SP3 > > > > > > ------------------------------------------------- Module detail > > > To be sure, I used your Perl script and I changed the email adresses > > > and password. > > > Notice that the last time I used it (Dec 2011) it worked fine. I'm > > > using it for 2 or 3 years. > > > I triple checked my Gmail username/password. > > > > > > > > > > > > Thanks for help. > > > Do not hesitate for any further information. > > > > > > Alex > > > > > > > > > > > > > > > > > > > > >
> > > >
> > >
Hello Alex, Good news :-) Yep, it's a mistake "my $mail=Gmail->". Sorry. Thanks for your bug-reporting. Peco On Sat Mar 10 12:56:08 2012, alexandrea514@hotmail.com wrote: Show quoted text
> > Hello Peco, > > First, thanks for your quick reply. > You pointed the right missing package: Net::SMTP_Auth. > So now it works with my script and the one you provide as example on > Cpan. > The one you provide in this email does NOT. The issue is on the NEW > syntax: > > Works : my $mail=Email::Send::SMTP::Gmail->new(... > Does not work : my $mail=Gmail->new(... > I'm getting this error: Can't locate object method "new" via package > "Gmail" (perhaps you forgot to load "Gmail"?) at > Email_SMTP_Gmail_DEBUG.pl line 3. > > I hope it's a mistake. > > Thanks for your time. > > Best regards. > > Alex > > > > > >
> > Subject: [rt.cpan.org #75663] Bug : Email-Send-SMTP-Gmail ? > > From: bug-Email-Send-SMTP-Gmail@rt.cpan.org > > To: alexandrea514@hotmail.com > > Date: Sat, 10 Mar 2012 06:14:14 -0500 > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=75663 > > > > > Hi, > > > > I'm not sure how you upgraded your Perl version, but please, take in > > consideration that Email-Send-SMTP-Gmail depends on > > > > Net::SMTP_Auth package > > > > Missing this package will produce a logon failure. > > > > These dependences should be checked during the standard installation > > from CPAN. > > > > Hope this helps. > > Peco > > > > > > > > > > On Sat Mar 10 05:19:34 2012, PECO wrote:
> > > > > > Hi, > > > > > > Please, for debugging purposes run the next simple (an isolated) > > > script > > > with the Debug flag enabled and your own login/pass. > > > > > > #!/usr/bin/perl > > > use Email::Send::SMTP::Gmail; > > > my > > > $mail=Gmail->new(-smtp=>'gmail.com',-login=>'login',-pass=>'xxx',- > > > debug=>'1'); > > > print "Connect?\n"; > > > > > > I hope that the output show us the issue. > > > > > > Thanks, > > > Peco > > > > > > > > > On Fri Mar 09 22:27:28 2012, alexandrea514@hotmail.com wrote:
> > > > > > > > Hi, > > > > > > > > I was using an old version of Perl and I had to reinstall a new
> one.
> > > > I was not able to make this module work again : Email-Send-SMTP-
> > > Gmail
> > > > > > > > ------------------------------------------------- Error message > > > > Tk::Error: Authentication (SMTP) failed > > > > > > > > ------------------------------------------------- Module > > > > Email-Send-SMTP-Gmail > > > > Version: 0.24 > > > > CPAN: http://search.cpan.org/dist/Email-Send-SMTP-Gmail-0.24/ > > > > Installed files: > > > > C:/Perl/html/site/lib/Email/Send/SMTP/Gmail.html > > > > C:/Perl/site/lib/Email/Send/SMTP/Gmail.pm > > > > C:/Perl/site/lib/auto/Email/Send/SMTP/Gmail/.packlist > > > > > > > > ------------------------------------------------- Perl version > > > > This is perl 5, version 12, subversion 4 (v5.12.4) built for
> > > MSWin32-
> > > > x86-multi-thread > > > > (with 9 registered patches, see perl -V for more detail) > > > > Copyright 1987-2010, Larry Wall > > > > Binary build 1205 [294981] provided by ActiveState > > > > http://www.ActiveState.com > > > > Built Jun 20 2011 18:35:25 > > > > > > > > ------------------------------------------------- OS > > > > Windows XP Professional version 2002 with SP3 > > > > > > > > ------------------------------------------------- Module detail > > > > To be sure, I used your Perl script and I changed the email
> adresses
> > > > and password. > > > > Notice that the last time I used it (Dec 2011) it worked fine.
> I'm
> > > > using it for 2 or 3 years. > > > > I triple checked my Gmail username/password. > > > > > > > > > > > > > > > > Thanks for help. > > > > Do not hesitate for any further information. > > > > > > > > Alex > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > >
> > > > > >