Does anyone configure DKIM using CakePHP email component?

Has anyone successfully set up "Domain Authentication Keys" in CakePHP with a built-in email component?

I am trying to implement the second part of the Jeff Atwood spam protection message:

http://www.codinghorror.com/blog/2010/04/so-youd-like-to-send-some-email-through-code.html

I do not find any good tutorials or sample code online for this. I’m not sure that I’m approaching this at a right angle either. (Maybe the mail server itself on the box should sign all outgoing emails, not the application?)

+4
source share
1 answer

You are on the right track when the mail server itself signs emails. This will certainly help keep things dry, especially if you have more than one application using the same mail server.

I learned the same with Cake, and after much study, I decided it was a lot easier to allow third-party users to process your emails. I would recommend PostmarkApp or even Amazon new A simple email service that has a free tier (2000 free emails per day) that can cover your entire application.

0
source

Source: https://habr.com/ru/post/1310532/


All Articles