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
>
>
>
>