0

Everything with AMPScript...

Is it possible to send an email with custom fields?

I develop a landing page with a lot of input fields... I was wondering if it is possible to send a template-based email with some custom fields (from inputs of before), like a contact form page

I read this: Create a Triggered Send for an On-Your-Behalf-Account

and this: Create a Triggered Send Using AMPScript and the SOAP Web Service API

but I don't understand those examples...

Thank you!

1

Short answer, yes. You'll need to:

  1. Create a Triggered Send-Templated Data Extension that contains the columns from your form
  2. Create a Triggered Send Definition that points to your email and the Triggered Send-Templated Data Extension
  3. Start your Triggered Send Definition
  4. In your landing page, add the AMPScript API code to fire off the email with the attribute values from your form.
  • Ty Adam! you are awesome! One question: I got my "triggered send definition" created and started. I got an external key and a Name of that "triggered Send". Is the "CustomerKey ObjectProperty" (I mean in AMPScript code) where I write my "triggered send definition" external key for trigger that "email"? I'm not getting how this works, – MrViSiOn Oct 28 '16 at 7:51
  • Yes, that's correct. – Adam Spriggs Oct 28 '16 at 11:31

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.