Is there a way using Ampscript I can simply ignore or cancel the send request of an API triggered send?

Essentially I would like to "turn off" outgoing messages based on a variable within the API call. (e.g. If name is Andy then do not send)

Is this even possible?

  • Are you unable to check the attribute before sending the triggered send? Commented Jan 27, 2014 at 22:36

1 Answer 1


I think you can use RaiseError, give it a try: http://help.exacttarget.com/en/documentation/exacttarget/content/ampscript/ampscript_syntax_guide/api_ampscript_functions/#RaiseError

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .