You need to sign in to do that
Don't have an account?
Scooter429
Multiple Email Attachments via API
Can someone please confirm whether it’s still the case that the only way (using the API) to add an attachment to an email is via a template. (I appreciate that this is advertised as an unsupported feature.) Is there any work around to add multiple attachments to a template via the API?
Thank you.gsickal
I got around this limitation by (1) creating a temporary template using the api, (2) creating several new attachment objects making sure to set the parent id to the newly created template in step 1, and finally (3) selecting this email template when i wanted to send an email with multiple attachments using the sendmail api. When the email is sent I delete the temporary template which also deletes the attachments.