Skip Menu |

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

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

People
Owner: PECO [...] cpan.org
Requestors: anujsethi91 [...] gmail.com
Cc:
AdminCc:

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



Subject: problem with the module
Date: Tue, 9 Apr 2013 17:04:28 +0530
To: bug-Email-Send-SMTP-Gmail [...] rt.cpan.org
From: anuj sethi <anujsethi91 [...] gmail.com>
i have installed the module using "cpan Gmail", and when i am running my script using this module, showing an error -->'Can't locate object method "new" via package "Email::Send::SMTP::Gmail" <perhaps you forgot to load "Email::Send::SMTP::Gmail"> at email1.pl line 5' please help Thank You
Hello. Sorry, this is an issue related to the namespace (my fault). I used Gmail instead of Email::Send::SMTP::Gmail I've uploaded a fixed version to CPAN now. I see two options: -> Download the latest version (0.44) from CPAN. It will appear during the next minutes -> Fix the module your self: Edit Gmail.pm to change the first line: Write: package Email::Send::SMTP::Gmail Instead of: Gmail Thank you On Tue Apr 09 07:35:06 2013, anujsethi91@gmail.com wrote: Show quoted text
> i have installed the module using "cpan Gmail", and when i am running my > script using this module, showing an error -->'Can't locate object method > "new" via package "Email::Send::SMTP::Gmail" <perhaps you forgot to load > "Email::Send::SMTP::Gmail"> at email1.pl line 5' > please help > Thank You
Subject: Re: [rt.cpan.org #84524] problem with the module
Date: Wed, 10 Apr 2013 16:06:29 +0530
To: bug-Email-Send-SMTP-Gmail [...] rt.cpan.org
From: anuj sethi <anujsethi91 [...] gmail.com>
Hi, i've downloaded the new version and even tried changing the original module as you described,, but its still not working, is there a problem with my script?? use strict; use warnings; use Email::Send::SMTP::Gmail; my $mail=Email::Send::SMTP::Gmail->new( -smtp=>'smtp.gmail.com', -login=>'myid', -pass=>'my password'); $mail->send(-to=>'tosend-id', -subject=>'Hello!', -body=>'Just testing it', -attachments=>'C:/strawberry/perl/test.txt'); $mail->bye; On Tue, Apr 9, 2013 at 5:22 PM, Juan Jose San Martin via RT < bug-Email-Send-SMTP-Gmail@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=84524 > > > Hello. > > Sorry, this is an issue related to the namespace (my fault). I used Gmail > instead of Email::Send::SMTP::Gmail > > I've uploaded a fixed version to CPAN now. > > I see two options: > -> Download the latest version (0.44) from CPAN. It will appear during the > next minutes > -> Fix the module your self: > Edit Gmail.pm to change the first line: > Write: package Email::Send::SMTP::Gmail > Instead of: Gmail > > Thank you > > On Tue Apr 09 07:35:06 2013, anujsethi91@gmail.com wrote:
> > i have installed the module using "cpan Gmail", and when i am running my > > script using this module, showing an error -->'Can't locate object method > > "new" via package "Email::Send::SMTP::Gmail" <perhaps you forgot to load > > "Email::Send::SMTP::Gmail"> at email1.pl line 5' > > please help > > Thank You
> > > >
Hello. Your script is correct. Please, verify that you have correctly installed the module at your system path. For example: ... perl/5.14.2/Email/Send/SMTP/Gmail.pm Hope this helps. On Wed Apr 10 06:37:09 2013, anujsethi91@gmail.com wrote: Show quoted text
> Hi, > i've downloaded the new version and even tried changing the original > module > as you described,, but its still not working, is there a problem with > my > script?? > > > use strict; > use warnings; > > use Email::Send::SMTP::Gmail; > > my $mail=Email::Send::SMTP::Gmail->new( -smtp=>'smtp.gmail.com', > -login=>'myid', > -pass=>'my password'); > $mail->send(-to=>'tosend-id', -subject=>'Hello!', -body=>'Just testing > it', > -attachments=>'C:/strawberry/perl/test.txt'); > $mail->bye; > > > On Tue, Apr 9, 2013 at 5:22 PM, Juan Jose San Martin via RT < > bug-Email-Send-SMTP-Gmail@rt.cpan.org> wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=84524 > > > > > Hello. > > > > Sorry, this is an issue related to the namespace (my fault). I used
> Gmail
> > instead of Email::Send::SMTP::Gmail > > > > I've uploaded a fixed version to CPAN now. > > > > I see two options: > > -> Download the latest version (0.44) from CPAN. It will appear
> during the
> > next minutes > > -> Fix the module your self: > > Edit Gmail.pm to change the first line: > > Write: package Email::Send::SMTP::Gmail > > Instead of: Gmail > > > > Thank you > > > > On Tue Apr 09 07:35:06 2013, anujsethi91@gmail.com wrote:
> > > i have installed the module using "cpan Gmail", and when i am
> running my
> > > script using this module, showing an error -->'Can't locate object
> method
> > > "new" via package "Email::Send::SMTP::Gmail" <perhaps you forgot
> to load
> > > "Email::Send::SMTP::Gmail"> at email1.pl line 5' > > > please help > > > Thank You
> > > > > > > >
Subject: Re: [rt.cpan.org #84524] problem with the module
Date: Fri, 12 Apr 2013 14:26:12 +0530
To: bug-Email-Send-SMTP-Gmail [...] rt.cpan.org
From: anuj sethi <anujsethi91 [...] gmail.com>
hello, i am sorry to bother you so much, but its still not working , can you tell me exactly where should i install the package??, and whether the problem might lie in the version of my perl. thanks for all your help On Wed, Apr 10, 2013 at 4:19 PM, Juan Jose San Martin via RT < bug-Email-Send-SMTP-Gmail@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=84524 > > > Hello. > > Your script is correct. > Please, verify that you have correctly installed the module at your system > path. For example: > > ... perl/5.14.2/Email/Send/SMTP/Gmail.pm > > Hope this helps. > > On Wed Apr 10 06:37:09 2013, anujsethi91@gmail.com wrote:
> > Hi, > > i've downloaded the new version and even tried changing the original > > module > > as you described,, but its still not working, is there a problem with > > my > > script?? > > > > > > use strict; > > use warnings; > > > > use Email::Send::SMTP::Gmail; > > > > my $mail=Email::Send::SMTP::Gmail->new( -smtp=>'smtp.gmail.com', > > -login=>'myid', > > -pass=>'my password'); > > $mail->send(-to=>'tosend-id', -subject=>'Hello!', -body=>'Just testing > > it', > > -attachments=>'C:/strawberry/perl/test.txt'); > > $mail->bye; > > > > > > On Tue, Apr 9, 2013 at 5:22 PM, Juan Jose San Martin via RT < > > bug-Email-Send-SMTP-Gmail@rt.cpan.org> wrote: > >
> > > <URL: https://rt.cpan.org/Ticket/Display.html?id=84524 > > > > > > > Hello. > > > > > > Sorry, this is an issue related to the namespace (my fault). I used
> > Gmail
> > > instead of Email::Send::SMTP::Gmail > > > > > > I've uploaded a fixed version to CPAN now. > > > > > > I see two options: > > > -> Download the latest version (0.44) from CPAN. It will appear
> > during the
> > > next minutes > > > -> Fix the module your self: > > > Edit Gmail.pm to change the first line: > > > Write: package Email::Send::SMTP::Gmail > > > Instead of: Gmail > > > > > > Thank you > > > > > > On Tue Apr 09 07:35:06 2013, anujsethi91@gmail.com wrote:
> > > > i have installed the module using "cpan Gmail", and when i am
> > running my
> > > > script using this module, showing an error -->'Can't locate object
> > method
> > > > "new" via package "Email::Send::SMTP::Gmail" <perhaps you forgot
> > to load
> > > > "Email::Send::SMTP::Gmail"> at email1.pl line 5' > > > > please help > > > > Thank You
> > > > > > > > > > > >
> > > >
Hello, I'm not sure about your Perl version and Operating system. Anyway, please try this: 1) Locate the file Gmail.pm on your system 2) Verify that it's located at "wherever...Email/Send/SMTP/Gmail.pm" or "wherever Email\Send\SMTP\Gmail.pm" 3) If it's not located on this place, then go to CPAN to install it again (cpan install Email::Send::SMTP::Gmail) That's it! Peco On Fri Apr 12 04:56:44 2013, anujsethi91@gmail.com wrote: Show quoted text
> hello, > i am sorry to bother you so much, but its still not working , can you tell > me exactly where should i install the package??, and whether the problem > might lie in the version of my perl. > thanks for all your help > > > On Wed, Apr 10, 2013 at 4:19 PM, Juan Jose San Martin via RT < > bug-Email-Send-SMTP-Gmail@rt.cpan.org> wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=84524 > > > > > Hello. > > > > Your script is correct. > > Please, verify that you have correctly installed the module at your system > > path. For example: > > > > ... perl/5.14.2/Email/Send/SMTP/Gmail.pm > > > > Hope this helps. > > > > On Wed Apr 10 06:37:09 2013, anujsethi91@gmail.com wrote:
> > > Hi, > > > i've downloaded the new version and even tried changing the original > > > module > > > as you described,, but its still not working, is there a problem with > > > my > > > script?? > > > > > > > > > use strict; > > > use warnings; > > > > > > use Email::Send::SMTP::Gmail; > > > > > > my $mail=Email::Send::SMTP::Gmail->new( -smtp=>'smtp.gmail.com', > > > -login=>'myid', > > > -pass=>'my password'); > > > $mail->send(-to=>'tosend-id', -subject=>'Hello!', -body=>'Just testing > > > it', > > > -attachments=>'C:/strawberry/perl/test.txt'); > > > $mail->bye; > > > > > > > > > On Tue, Apr 9, 2013 at 5:22 PM, Juan Jose San Martin via RT < > > > bug-Email-Send-SMTP-Gmail@rt.cpan.org> wrote: > > >
> > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=84524 > > > > > > > > > Hello. > > > > > > > > Sorry, this is an issue related to the namespace (my fault). I used
> > > Gmail
> > > > instead of Email::Send::SMTP::Gmail > > > > > > > > I've uploaded a fixed version to CPAN now. > > > > > > > > I see two options: > > > > -> Download the latest version (0.44) from CPAN. It will appear
> > > during the
> > > > next minutes > > > > -> Fix the module your self: > > > > Edit Gmail.pm to change the first line: > > > > Write: package Email::Send::SMTP::Gmail > > > > Instead of: Gmail > > > > > > > > Thank you > > > > > > > > On Tue Apr 09 07:35:06 2013, anujsethi91@gmail.com wrote:
> > > > > i have installed the module using "cpan Gmail", and when i am
> > > running my
> > > > > script using this module, showing an error -->'Can't locate object
> > > method
> > > > > "new" via package "Email::Send::SMTP::Gmail" <perhaps you forgot
> > > to load
> > > > > "Email::Send::SMTP::Gmail"> at email1.pl line 5' > > > > > please help > > > > > Thank You
> > > > > > > > > > > > > > > >
> > > > > > > >
Subject: Re: [rt.cpan.org #84524] problem with the module
Date: Sat, 13 Apr 2013 00:09:26 +0530
To: bug-Email-Send-SMTP-Gmail [...] rt.cpan.org
From: anuj sethi <anujsethi91 [...] gmail.com>
Hi, Thank you so much for your support, its working now, it was really nice of you to help, i really appreciate it. Thanks :) Anuj Sethi On Fri, Apr 12, 2013 at 4:28 PM, Juan Jose San Martin via RT < bug-Email-Send-SMTP-Gmail@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=84524 > > > Hello, > > I'm not sure about your Perl version and Operating system. > Anyway, please try this: > > 1) Locate the file Gmail.pm on your system > 2) Verify that it's located at "wherever...Email/Send/SMTP/Gmail.pm" or > "wherever Email\Send\SMTP\Gmail.pm" > > 3) If it's not located on this place, then go to CPAN to install it again > (cpan install Email::Send::SMTP::Gmail) > > That's it! > Peco > > > > On Fri Apr 12 04:56:44 2013, anujsethi91@gmail.com wrote:
> > hello, > > i am sorry to bother you so much, but its still not working , can you
> tell
> > me exactly where should i install the package??, and whether the problem > > might lie in the version of my perl. > > thanks for all your help > > > > > > On Wed, Apr 10, 2013 at 4:19 PM, Juan Jose San Martin via RT < > > bug-Email-Send-SMTP-Gmail@rt.cpan.org> wrote: > >
> > > <URL: https://rt.cpan.org/Ticket/Display.html?id=84524 > > > > > > > Hello. > > > > > > Your script is correct. > > > Please, verify that you have correctly installed the module at your
> system
> > > path. For example: > > > > > > ... perl/5.14.2/Email/Send/SMTP/Gmail.pm > > > > > > Hope this helps. > > > > > > On Wed Apr 10 06:37:09 2013, anujsethi91@gmail.com wrote:
> > > > Hi, > > > > i've downloaded the new version and even tried changing the original > > > > module > > > > as you described,, but its still not working, is there a problem with > > > > my > > > > script?? > > > > > > > > > > > > use strict; > > > > use warnings; > > > > > > > > use Email::Send::SMTP::Gmail; > > > > > > > > my $mail=Email::Send::SMTP::Gmail->new( -smtp=>'smtp.gmail.com', > > > > -login=>'myid', > > > > -pass=>'my password'); > > > > $mail->send(-to=>'tosend-id', -subject=>'Hello!', -body=>'Just
> testing
> > > > it', > > > > -attachments=>'C:/strawberry/perl/test.txt'); > > > > $mail->bye; > > > > > > > > > > > > On Tue, Apr 9, 2013 at 5:22 PM, Juan Jose San Martin via RT < > > > > bug-Email-Send-SMTP-Gmail@rt.cpan.org> wrote: > > > >
> > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=84524 > > > > > > > > > > > Hello. > > > > > > > > > > Sorry, this is an issue related to the namespace (my fault). I used
> > > > Gmail
> > > > > instead of Email::Send::SMTP::Gmail > > > > > > > > > > I've uploaded a fixed version to CPAN now. > > > > > > > > > > I see two options: > > > > > -> Download the latest version (0.44) from CPAN. It will appear
> > > > during the
> > > > > next minutes > > > > > -> Fix the module your self: > > > > > Edit Gmail.pm to change the first line: > > > > > Write: package Email::Send::SMTP::Gmail > > > > > Instead of: Gmail > > > > > > > > > > Thank you > > > > > > > > > > On Tue Apr 09 07:35:06 2013, anujsethi91@gmail.com wrote:
> > > > > > i have installed the module using "cpan Gmail", and when i am
> > > > running my
> > > > > > script using this module, showing an error -->'Can't locate
> object
> > > > method
> > > > > > "new" via package "Email::Send::SMTP::Gmail" <perhaps you forgot
> > > > to load
> > > > > > "Email::Send::SMTP::Gmail"> at email1.pl line 5' > > > > > > please help > > > > > > Thank You
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > >
:) Peco On Fri Apr 12 14:40:02 2013, anujsethi91@gmail.com wrote: Show quoted text
> Hi, > Thank you so much for your support, its working now, it was really > nice of > you to help, > i really appreciate it. > Thanks :) > Anuj Sethi > > > On Fri, Apr 12, 2013 at 4:28 PM, Juan Jose San Martin via RT < > bug-Email-Send-SMTP-Gmail@rt.cpan.org> wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=84524 > > > > > Hello, > > > > I'm not sure about your Perl version and Operating system. > > Anyway, please try this: > > > > 1) Locate the file Gmail.pm on your system > > 2) Verify that it's located at "wherever...Email/Send/SMTP/Gmail.pm"
> or
> > "wherever Email\Send\SMTP\Gmail.pm" > > > > 3) If it's not located on this place, then go to CPAN to install it
> again
> > (cpan install Email::Send::SMTP::Gmail) > > > > That's it! > > Peco > > > > > > > > On Fri Apr 12 04:56:44 2013, anujsethi91@gmail.com wrote:
> > > hello, > > > i am sorry to bother you so much, but its still not working , can
> you
> > tell
> > > me exactly where should i install the package??, and whether the
> problem
> > > might lie in the version of my perl. > > > thanks for all your help > > > > > > > > > On Wed, Apr 10, 2013 at 4:19 PM, Juan Jose San Martin via RT < > > > bug-Email-Send-SMTP-Gmail@rt.cpan.org> wrote: > > >
> > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=84524 > > > > > > > > > Hello. > > > > > > > > Your script is correct. > > > > Please, verify that you have correctly installed the module at
> your
> > system
> > > > path. For example: > > > > > > > > ... perl/5.14.2/Email/Send/SMTP/Gmail.pm > > > > > > > > Hope this helps. > > > > > > > > On Wed Apr 10 06:37:09 2013, anujsethi91@gmail.com wrote:
> > > > > Hi, > > > > > i've downloaded the new version and even tried changing the
> original
> > > > > module > > > > > as you described,, but its still not working, is there a
> problem with
> > > > > my > > > > > script?? > > > > > > > > > > > > > > > use strict; > > > > > use warnings; > > > > > > > > > > use Email::Send::SMTP::Gmail; > > > > > > > > > > my $mail=Email::Send::SMTP::Gmail->new(
> -smtp=>'smtp.gmail.com',
> > > > > -login=>'myid', > > > > > -pass=>'my
> password');
> > > > > $mail->send(-to=>'tosend-id', -subject=>'Hello!', -body=>'Just
> > testing
> > > > > it', > > > > > -attachments=>'C:/strawberry/perl/test.txt'); > > > > > $mail->bye; > > > > > > > > > > > > > > > On Tue, Apr 9, 2013 at 5:22 PM, Juan Jose San Martin via RT < > > > > > bug-Email-Send-SMTP-Gmail@rt.cpan.org> wrote: > > > > >
> > > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=84524 > > > > > > > > > > > > > Hello. > > > > > > > > > > > > Sorry, this is an issue related to the namespace (my fault).
> I used
> > > > > Gmail
> > > > > > instead of Email::Send::SMTP::Gmail > > > > > > > > > > > > I've uploaded a fixed version to CPAN now. > > > > > > > > > > > > I see two options: > > > > > > -> Download the latest version (0.44) from CPAN. It will
> appear
> > > > > during the
> > > > > > next minutes > > > > > > -> Fix the module your self: > > > > > > Edit Gmail.pm to change the first line: > > > > > > Write: package Email::Send::SMTP::Gmail > > > > > > Instead of: Gmail > > > > > > > > > > > > Thank you > > > > > > > > > > > > On Tue Apr 09 07:35:06 2013, anujsethi91@gmail.com wrote:
> > > > > > > i have installed the module using "cpan Gmail", and when
> i am
> > > > > running my
> > > > > > > script using this module, showing an error -->'Can't
> locate
> > object
> > > > > method
> > > > > > > "new" via package "Email::Send::SMTP::Gmail" <perhaps you
> forgot
> > > > > to load
> > > > > > > "Email::Send::SMTP::Gmail"> at email1.pl line 5' > > > > > > > please help > > > > > > > Thank You
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > >