Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Email an Attachment via Gmail

by davido (Cardinal)
on Apr 08, 2013 at 05:03 UTC ( [id://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

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1027427]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-04-20 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found