#medusa-plugin-sendgrid not sending emails

7 messages · Page 1 of 1 (latest)

oak smelt
#

Hi,
I'm integrating the official SendGrid plugin (version ^1.3.9) and have followed the installation instructions, and setup a dynamic templated for order.placed event. However no email is sent, although a subscriber is registered and logged correctly. I also have tried to manually create a subscriber which sends a test email with the sendgridService as provided in the docs, however still same result (meaning no request is sent to SendGrid).

Does someone have any pointer? I'm using the local event bus but subscribers and events other than this seem to be working quite fine. I have also tried to send emails via the SendGrid API with Postman with the same API key and same dynamic template id which worked flawlessly.

Thanks in advance 🙂

karmic mango
#

Can you double-check in the sendgrid dashboard that the send requests are not being held for some reason? Someone else has that issue recently. Sendgrid was getting the requests from medusa, but was not sending emails. You should be able to confirm/eliminate the possibility from your sendgrid logs. You can also add a console.log to your custom service to be sure that the function is triggering when expected, and show you the parameters to help narrow the issue.

drowsy lodge
#

I have this same issue so following this

oak smelt
#

Sorry for the delayed response