Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道为 Zend_Mail 提供插件的任何电子邮件提供商(例如 MailChimp)?
理想情况下,我只想配置 Zend_Mail 以使用这样的提供程序,而不是重写所有调用 Zend_Mail 的场合?
我认为最好的解决方案是自己的 Zend_Mail_Transport 类,并在引导程序中将其设置为 Zend_Mail 的默认传输
$tr = new Zend_Mail_Transport_MyTransport(); Zend_Mail::setDefaultTransport($tr);