SendGrid not working

Hi guys,

Can’t make SendGrid send emails!
Checked absolutely everything in code, all articles, etc. Checked all “SendGrid not working” topics in this forum. Still not sending - not even requests.

Would be so grateful if you can spot a mistake.


Thanks!

Hi Oleg,
It’s a bit difficult to find mistakes from this edge. Try to place console.log in each function to check where it stops.
Roi.

Hi Roi, Thanks for reacting. It’s added to PageCode as per screenshot. Do you mean add it to .JS and .JSW files? Also where do you check those logs?

Thanks

Add it in the beginning of each function.
In the console tab.

Did you see the SendGrid NPM example ?

1 Like

Like this?

I have now) I tested sending email with my key in example you provided and it worked. Not sure what that means.

@info6114 Well, it means that it works. :smiling_face: You can now use the example to implement the Sendgrid email function in your app.

Good luck

@yisrael-wix Thanks, Is it going to work with IF and ELSE_IF if I modify code later?

@info6114 The example is just that - an example. You can modify the code for your own use.