I’m trying to understand the exact details of a Catch within server connect. This is all just sandbox stuff, so I’m artificially throwing an error by setting mail1 to an invalid host, and then sending an email. I also have a valid smtp host (sendgrid_tos) for sending an email within the catch.
Here is what I’m experiencing (php)…
This configuration sends the email in the catch, but returns as status of 200 (I would expect a 400 because of the response):
This config does not send the email and sends a status 400:
This config does not send the email and returns status 200:
I guess my question is: Can I send an email (or do any other processing) in a Catch, and also set an error response code?
Related: If I try to add a Send Mail into a catch, the systems prompts me to setup a mailer first, even though mailers are setup in the Steps…by design, or bug?
Last updated: