简体   繁体   English

有人用CakePHP电子邮件组件设置DKIM吗?

[英]Has anyone setup DKIM with the CakePHP Email Component?

Has anyone successfully setup "Domain Keys Identified Mail" in a CakePHP app with the built-in email component? 有没有人使用内置的电子邮件组件在CakePHP应用程序中成功设置“Domain Keys Identified Mail”?

I'm trying to implement part two of Jeff Atwood's spam protection post: 我正在尝试实施Jeff Atwood的垃圾邮件保护帖子的第二部分:

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

I'm not finding any good tutorials or sample code online for doing this. 我没有在网上找到任何好的教程或示例代码。 I'm not sure I'm approaching this from the right angle either. 我不确定我是从正确的角度接近这个。 (Might it be that the mail server itself on the box should be signing all outbound emails, and not the app?) (可能是盒子上的邮件服务器本身应该签署所有出站电子邮件,而不是应用程序吗?)

You're on to the right path with having the mail server itself sign the emails. 让邮件服务器自己签署电子邮件,你就走上了正确的道路。 That will certainly help keep things DRY, especially if you have more than one application using the same mail server. 这肯定有助于保持干燥,特别是如果您有多个使用相同邮件服务器的应用程序。

I've looked into doing the same thing from Cake and after a lot of study I determined that it was a lot ( a lot ) easier to let a third-party handle your emails. 我从Cake开始做同样的事情,经过大量的研究,我确定让第三方处理你的电子邮件变得更容易( 很多 )。 I'd recommend PostmarkApp or even Amazon's new Simple Email Service which has a free tier ( 2,000 free emails per day ) which may cover the entirety of your application. 我推荐PostmarkApp甚至亚马逊的新简单电子邮件服务 ,它有免费套餐( 每天免费发送2000封电子邮件 ),可以覆盖整个申请。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM