Sh4yy / vercel-email

A simple npm package that lets you send free transactional emails from Vercel Edge Functions.
MIT License
422 stars 9 forks source link

Error 405 when sending email #3

Open francofantini opened 1 year ago

francofantini commented 1 year ago

Description

I've been experiencing an issue when attempting to send an email using this library. Specifically, I'm receiving a HTTP 405 error. I suspect this issue may be related to a change in mailchannels. This was working fine for a couple months and stop working today.

Additional Information

From preliminary research, MailChannels, has recently published an article detailing various security measures against domain name spoofing, called "Domain Lockdown". This might be a potential reason for the issues we're facing. Linked below are their help posts:

I've tried to configure the Domain Lockdown they write about with no luck. Does anybody now how to set this up?

Thank you.

abhishekmg commented 1 year ago

Facing the same issue here

treyhuffine commented 2 months ago

Sometimes Vercel returns a 405 when a response isn't sent, like when an error is thrown. For me it's failing when calling Email.send with the error Error sending email.