http://www.perlmonks.org?node_id=1027130


in reply to Email an Attachment via Gmail

Same problem for me. Try

cpan install Gmail

Replies are listed 'Best First'.
Re^2: Email an Attachment via Gmail
by anujsethi91 (Initiate) on Apr 08, 2013 at 04:39 UTC
    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

      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
        Is there a way to send several attachments in the same email?