Hi! Have anyone tried to use Sendgrid transaction...
# talk-kratos
b
Hi! Have anyone tried to use Sendgrid transactional emails (from templates) with kratos? It seems that it is required to block sending email from Kratos and use web_hook with json body, but is it possible? One of solutions would be break smtp courier, but it does not seem like a production-ready solution)) Thank you in advance)
r
Hey @bored-bird-77604 - the recently added HTTP option (in Kratos v1.0.0) allows one to set up an API for sending out emails. Check it out here: https://www.ory.sh/docs/kratos/self-hosted/email-http
b
great, thank you! (I don’t know how I could miss this in documentation)
m
We just added the documentation yesterday I think, so its not your fault @bored-bird-77604 😅
r
Small forewarning; until https://github.com/ory/kratos/pull/3401 makes it to the next release, the email deliveries will keep being marked as failed if the API does not respond with exactly
200
. Until then, consider setting
courier.message_retries=0
, so that sending is only attempted once.