简体   繁体   English

Magento如何发送邮件?

[英]How does Magento deliver mail?

I have noticed that there are no explicit mail settings in Magento on which SMTP server to use to send mail. 我注意到,Magento中没有用于发送邮件的SMTP服务器上的显式邮件设置。

For example; 例如; I could setup my mail to indicate that it is coming from test@mydomain.com , while at the same time using Google Apps for mail. 我可以设置邮件以表明它来自test@mydomain.com ,同时使用Google Apps进行邮件发送。 And, eventhough the SMTP server settings are not possible to setup in a default Magento install. 而且,尽管无法在默认的Magento安装中设置SMTP服务器设置。 Magento still manages to deliver the mail. Magento仍然设法传递邮件。 How is this possible? 这怎么可能?

It does what Zend does. 它完成了Zend的工作。

Have a look in /lib/Zend/Mail/ 看看/ lib / Zend / Mail /

Or check their documentation. 或检查他们的文档。

Magento sends emails using Zend_Mail component. Magento使用Zend_Mail组件发送电子邮件。
However, you can assign custom SMTP settings using free SMTP Pro extension . 但是,您可以使用免费的SMTP Pro扩展名分配自定义SMTP设置。

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

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