#Sendgrid email not sending

61 messages · Page 1 of 1 (latest)

forest marlin
#

Hi! I followed the Medusa Sendgrid tutorial, but I can't get the messages to be sent when I finish an order.

Is an official domain and a Sendgrid paid version necessary?

ember sequoia
#

You should check your terminal to see what the issue is. You can send them from localhost and don't need a paid plan on Sendgrid.

forest marlin
#

I deployed on Railway

#

If I test my template on Sendgrid, I receive the email

#

I have followed the tutorial video, I don't understand what is wrong

ember sequoia
#

did you add the templates into the medusa-config.js?

forest marlin
forest marlin
#

I found this error

ember sequoia
#

it's hard to say if this error is related to sendgrid at all

#

I'd recommend quickly doing a local repo and then test the plugin

forest marlin
#

I'm testing on local at the moment

#

and getting this error

ember sequoia
#

did you validate your sender email in sendgrid?

forest marlin
#

That's on Railway server when I place an order

dusk nest
#

Hi! did you solved it? I'm facing the same issue 🤔

ember sequoia
#

I just found out that there's bug in medusajs 1.17.4 that was fixed in 1.18. But at the same time the update breaks the sendgrid plugin due to the new subscriber API changes

#

Trying to get 1.18 working right now

forest marlin
#

I updated all

#

I configured event-bus, sendgrid and I created an "order-placed.ts" subscriber, like the tutorial says

#

I don't know what's the problem

forest marlin
#

I have this error now

#

So Sendgrid receives the call

ember sequoia
#

looking at your file, most certainly you do unless you own medusajs.com 🤣

forest marlin
#

I'm trying Resend finally..

#

It seems easier

ember sequoia
#

let me know if it works...should have the same issues, but let me know if it's working. I got it to work yesterday

#

*at least the dynamic ones as well as the triggered ones. subscriptions are still an issue due to the new api. gonna look into this sometime

forest marlin
#

I have stopped using Sendgrid

#

I wont try anymore

ember sequoia
#

Got ya. Resend works with the subscribers in 1.18 or only the direct stuff?

forest marlin
#

Yes, It works

ornate nacelle
#

@forest marlin where do you deploy your side? the resend plugin just crashes my railway deployment

ornate nacelle
# forest marlin on Railway

now it runs on my side - but doesn't find the path for the templates
do you add the path in ' ' in the .env or just without?

forest marlin
#

something like that

ornate nacelle
forest marlin
#

You just need the eventBus

#

and to add the template

ornate nacelle
forest marlin
#

I saw it here, in another chat

ornate nacelle