Does anyone know if it is possible to Trigger an email, using AMPScript or SSJS, from within an email ?
My use case is this : I have an email, which contains a complex amount of AMPScript and has a RaiseError function in the event of a condition not being met. The client would like for a notification email to be sent on the event of a RaiseError.
I have attempted to script with SSJS a CreateObject("TriggeredSend")
However upon testing, Marketing Cloud errors :
CreateObject Function is not valid in content. This function is only allowed in non sendable content. Function: CreateObject("TriggeredSend")
My gut feeling is that triggering an email from within an email isn't possible. Can anyone advise of its feasibility ?