I've searched in forums and found similar issues, but no solutions worked for me so far.
Here's the deal:
I've setup form, database and codes to send a mail upon form submission, based on this tutorial https://support.wix.com/en/article/how-to-send-an-email-on-form-submission but it haven't worked so far. In console, tried logging before and after the point where mails should be sent, and code seems to be running ok, no breaks.
I read the codes a thousand times, sarched for case mismatches in filenames, tried changing IDs, API keys, language in Sendgrid configs, and a bunch of other stuff. I'm no expert so I've run out of options, so I'd like some help..
I'm seeing no errors in console, no email is delivering (or even being sent, as SendGrid activity is still empty).
My page is https://www.wbarmarios.com.br/fale-conosco and i'm attaching my codes as images below.
Maybe i'm missing some small detail, or is a misconfiguration somewhere else, I'm hoping someone might identify it.
Thanks in advance!