Send Email with attachments

I use DSPs Email service from Server Side Script and also from Angular Front end to send Emails.

All works well.
But now one of my clients wants to send PDF as an attachment.
Is this possible using DSP email service?

Any help in this regard would be highly appreciated.

1 Like

Well, I don’t think that’s possible.

In 1.9 and 2.0 API Docs it’s accept the following params:
{ "template": "", "template_id": 0, "to": [ { "name": "", "email": "" } ], "cc": [ { "name": "", "email": "" } ], "bcc": [ { "name": "", "email": "" } ], "subject": "", "body_text": "", "body_html": "", "from_name": "", "from_email": "", "reply_to_name": "", "reply_to_email": "" }
If it’s a default PDF, maybe you could just upload it in your server and link it to the email template.

PS: Sorry, the code it’s not indenting.

@drewpearce - is there a way with DF2 to send emails with attachments?
If not, is it in the pipeline?