Sh4yy / cloudflare-email

This is a simple proxy server that can be used for sending free transactional emails through Cloudflare workers.
MIT License
1.47k stars 349 forks source link

feat: add DKIM support, fix bcc and cc, and add markdown support #17

Open kcoderhtml opened 7 months ago

kcoderhtml commented 7 months ago

I added DKIM support and made the error logging more effective by logging the error returned by mailchannels. BTW, this is a lifesaver for saving on time and effort writing my own worker; really appreciate all the hard work!

Closes: #8

kcoderhtml commented 7 months ago

I also fixed bcc and cc as they needed to be in the personalization object as shown here: https://api.mailchannels.net/tx/v1/documentation

kcoderhtml commented 7 months ago

Just finished adding markdown support as well

agusmdev commented 7 months ago

Nice work @kcoderhtml ! I tried your code and it worked perfectly, I was able to set DKIM properly

kcoderhtml commented 7 months ago

I'm glad it worked for you!