#Sendgrid email not sending
61 messages · Page 1 of 1 (latest)
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.
I don't get any errors
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
did you add the templates into the medusa-config.js?
i added
I found this error
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
did you validate your sender email in sendgrid?
yes
That's on Railway server when I place an order
Hi! did you solved it? I'm facing the same issue 🤔
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
@dusk nest @forest marlin https://github.com/medusajs/medusa/pull/5635
Trying to get 1.18 working right now
Thanks, I will try later
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
You might have the wrong sender email...see https://sendgrid.com/docs/ui/sending-email/sender-verification
Understanding the difference between Domain Authentication and verifying a Single Sender.
looking at your file, most certainly you do unless you own medusajs.com 🤣
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
Did you refer to Resend? It works fine
I have stopped using Sendgrid
I wont try anymore
Got ya. Resend works with the subscribers in 1.18 or only the direct stuff?
Yes, It works
@forest marlin where do you deploy your side? the resend plugin just crashes my railway deployment
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?
I just added the order-placed.ts template on src/subscribers
something like that
ok - so nothing in the medusa config? because you can just add the template in the medusa config right?
Yes, It's easier than Sendgrid or others
You just need the eventBus
and to add the template
okok i will try this - how did you find out this, because the docs just say:
I saw it here, in another chat
sry but is this pseudo code? because as far as i see it, there is no resend.emails.send?