Hi, I have a triggered email that I would like sent when someone on my site completes a questionnaire. I have used the Wix Code Tutorial: Sending a Triggered Email to Contacts.
From my understanding, the code creates a new contact and then sends a "triggered email".
However, the code is not working to create a contact or send the email. I'm not sure if something is wrong on my end or if there is a bug, but I can't get it to work!
Would anyone know what I'm doing wrong? I tried this with several email addresses. I'm not logged in to the site and also these email addresses are not yet present in my contacts.
This is the URL with the form: https://www.wixcreate.com/test-questionnaire
This is the code:
I very much appreciate any help on this!