How to Create an email using the AMPscript AttachFile() function in the exact target content area that will send an email with an attachment using SOAP API and REST API

  • It may be helpful to add some more details to your question, mostly what you're trying to achieve and how you want to use both SOAP & REST APIs. – Samuel De Rycke Jul 1 '14 at 9:16
  • I am using this exacttarget in Mule implementation. We are currently using to send emails with out attachments. We are using SOAP based approach. Now we are planning to create a rest service that will trigger a email with attachment. Need to do a POC by using ampscript. Any help in this regard will be usefull. – GDSSRAO Jul 2 '14 at 10:48

To use the AMPscript attachFile function, you must have the feature turned on for the account. If you are having difficulties getting it to work I would start with contacting your ExactTarget Admin to insure that feature is available and if not get with your ExactTarget representative to get pricing. Also, here is a link to the wiki specific to attaching files to emails: http://help.exacttarget.com/en/documentation/exacttarget/content/email_attachments/

  • Great answer mate. Is It posible to attach block files stored in Azure Storage? – Javier de No Mar 14 '17 at 15:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.