Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Email an Attachment via Gmail

by davido (Archbishop)
on Apr 08, 2013 at 05:03 UTC ( #1027427=note: print w/ replies, xml ) Need Help??


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

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

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

Dave

Comment on Re^3: Email an Attachment via Gmail
Download Code
Replies are listed 'Best First'.
Re^4: Email an Attachment via Gmail
by anujsethi91 (Initiate) on Apr 08, 2013 at 05:50 UTC
    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

        hey,its still not working,, i think i'll file the bug report,, thanks anyways :)
Re^4: Email an Attachment via Gmail
by Anonymous Monk on Sep 01, 2015 at 16:20 UTC
    Is there a way to send several attachments in the same email?

      Since the field for sending attachments is called -attachments (a plural), I assumed so, so I checked the documentation at Email::Send::SMTP::Gmail and found the examples provided therein to be pretty straightforward.

      So the answer to your question is 'Yes.', and the support for that answer is in the module's documentation.


      Dave

      See MIME::Lite for how to create multiple attachments. You can then send the created message through whatever means you find suitable.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2016-05-02 23:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?