未发送用于重置密码功能的电子邮件


Email not sent for reseting password function

我对FOSUSERBUNDLE和重置密码功能有问题。重置电子邮件不会在生产模式下发送。(但是注册邮件发送没有问题(。

我的应用程序/日志/产品中有此错误.log但我不知道如何解决它。

[2014-12-21 13:26:34] request.INFO: Matched route "fos_user_resetting_send_email" (parameters: "_controller": "FOS'UserBundle'Controller'ResettingController::sendEmailAction", "_route": "fos_user_resetting_send_email") [] []
[2014-12-21 13:26:34] security.INFO: Populated SecurityContext with an anonymous Token [] []
[2014-12-21 13:26:34] security.DEBUG: Write SecurityContext in the session [] []
[2014-12-21 13:26:35] app.ERROR: Exception occurred while flushing email queue: Expected response code 250 but got code "", with message "" [] []

有人可以帮我吗?

我解决了我的问题。配置部分参数时似乎会发生此错误。此处的文档介绍了如何独立配置两个邮件发送选项,以及如何同时配置这两个选项。正是这最后一点导致了我的错误。我刚刚配置了两个选项的一部分,而不是两个选项。

无论如何谢谢你,如果以后对某人有用......