我正在进行rails应用程序,我正在尝试向用户发送电子邮件以恢复其密码。
我正在使用“设计”库,我无法理解为什么我的应用程序没有发送电子邮件。
当我尝试发送电子邮件时,会发生在我的日志控制台中:
Sent mail to nina_sigma@hotmail.com (10ms)
Date: Wed, 07 Aug 2013 22:47:56 -0500
From: christian.consuelo2@gmail.com
Reply-To: christian.consuelo2@gmail.com
To: nina_sigma@hotmail.com
Message-ID: <520314ecea682_5fcc5a961c273027@christian-R480-R431-R481.mail>
Subject: =?UTF-8?Q?Instrucciones_de_reinicio_de_contrase=C3=B1a?=
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<p>Hello nina_sigma@hotmail.com!</p>
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
<p><a href="http://localhost:3000/auth/users/password/edit?reset_password_token=vWpAHqtWrVKjmFRsKzTQ">Change my password</a></p>
<p>If you didn't request this, please ignore this email.</p>
<p>Your password won't change until you access the link above and create a new one.</p>
Redirected to http://localhost:3000/auth/users/sign_in
Completed 302 Found in 29ms (ActiveRecord: 0.0ms)
Started GET "/auth/users/sign_in" for 127.0.0.1 at 2013-08-07 22:47:57 -0500
Processing by Devise::SessionsController#new as HTML
Rendered devise/shared/_links.erb (1.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (4.1ms)
Rendered layouts/_header.html.erb (1.0ms)
Rendered layouts/_navigation.html.erb (0.6ms)
Rendered layouts/_messages.html.erb (0.1ms)
Rendered layouts/_footer.html.erb (0.0ms)
Completed 200 OK in 24ms (Views: 22.3ms | ActiveRecord: 0.0ms)
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
[2013-08-07 22:47:57] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true