Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Email an Attachment via Gmail

by anujsethi91 (Initiate)
on Apr 08, 2013 at 04:39 UTC ( #1027425=note: print w/ replies, xml ) Need Help??


in reply to Re: Email an Attachment via Gmail
in thread Email an Attachment via Gmail

thank you it worked perfectly!! but now that its detecting the module, i am stuck at a new problem. my code is the same as above but now its showing :: '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


Comment on Re^2: Email an Attachment via Gmail
Replies are listed 'Best First'.
Re^3: Email an Attachment via Gmail
by davido (Archbishop) on Apr 08, 2013 at 05:03 UTC

    Back to my original question of you: What do you see when you type:

    cpan install Email::Send::SMTP::Gmail

    Dave

      its installed now, but im getting a different problem now, i just asked above

        Lol... I think that Email::Send::SMTP::Gmail has a bug on the first line in v0.43. And taking a closer look at the module's test suite does nothing to instill confidence in the module; there are essentially no tests other than "Does the module load? Yes."

        I can't right now, but try changing line one of the module from package Gmail; to package Email::Send::SMTP::Gmail;, and if that fixes your issue, file a bug report. ;)


        Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027425]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (19)
As of 2015-07-28 19:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls