Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Email an Attachment via Gmail

by Anonymous Monk
on Sep 01, 2015 at 16:20 UTC ( [id://1140683]=note: print w/replies, xml ) Need Help??


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

Is there a way to send several attachments in the same email?

Replies are listed 'Best First'.
Re^5: Email an Attachment via Gmail
by davido (Cardinal) on Sep 01, 2015 at 16:49 UTC

    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

Re^5: Email an Attachment via Gmail
by Corion (Patriarch) on Sep 01, 2015 at 16:46 UTC

    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://1140683]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-24 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found