Symfony (2.8):什么是假脱机电子邮件以及为什么未发送电子邮件?
Symfony (2.8): what is a spooled email and why the email is not sended?
首先,抱歉我的英语不好:(
我需要有关假脱机电子邮件的帮助。我的应用程序发送了一封电子邮件,但我没有收到。调试讨论 "spooled" 电子邮件。它是什么?是这个问题吗?
来自官方文档:
The default behavior of the Symfony mailer is to send the email messages immediately. You may, however, want to avoid the performance hit of the communication to the email server, which could cause the user to wait for the next page to load while the email is sending. This can be avoided by choosing to "spool" the emails instead of sending them directly.
This makes the mailer to not attempt to send the email message but
instead save it somewhere such as a file. Another process can then
read from the spool and take care of sending the emails in the spool.
Currently only spooling to file or memory is supported.
您可以阅读更多相关信息,尤其是如何配置假脱机,here
首先,抱歉我的英语不好:(
我需要有关假脱机电子邮件的帮助。我的应用程序发送了一封电子邮件,但我没有收到。调试讨论 "spooled" 电子邮件。它是什么?是这个问题吗?
来自官方文档:
The default behavior of the Symfony mailer is to send the email messages immediately. You may, however, want to avoid the performance hit of the communication to the email server, which could cause the user to wait for the next page to load while the email is sending. This can be avoided by choosing to "spool" the emails instead of sending them directly.
This makes the mailer to not attempt to send the email message but instead save it somewhere such as a file. Another process can then read from the spool and take care of sending the emails in the spool. Currently only spooling to file or memory is supported.
您可以阅读更多相关信息,尤其是如何配置假脱机,here