i have done almost everything to get my email notifications on wix code… after finishing i tested to see if it will work but i did not get any notification. Sendgrid is also saying whats on the picture below… am not sure what to do or how to fix that “recipient undefined”…
The recipient is the one who gets the mail
So, somewhere in your code you’re calling the sendEmailWithRecipient function with subject and body
You’re missing the email address to send to.
Add a parameter like this:
sendEmailWithRecipient(subject, body, recipient) {
//sending code is here
}
Then, when calling the function add the recipient address:
But in order for us to help you, you’ll need to be more specific.
Try reading the code and this article carefully, try to understand the flow.
If you have specific issues, we’ll be happy to help.