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 RyckeCommented Jul 1, 2014 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.– GDSSRAOCommented Jul 2, 2014 at 10:48
1 Answer
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? Commented Mar 14, 2017 at 15:59