使用“与我们联系”,为什么不将邮件发送到我想要的收件箱。如下所示,它似乎发送,它只是没有传递到我的收件箱。
Started POST "/contacts" for ::1 at 2016-03-09 23:01:01 +0000
Processing by ContactUs::ContactsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", "contact_us_contact"=>{"name"=>"Niall", "email"=>"John@webdev.ie", "subject"=>"Test ", "message"=>"Can anyone on stack overflow help me? "}, "commit"=>"Submit"}
Rendered contact_us/contact_mailer/contact_email.html.erb (0.8ms)
ContactUs::ContactMailer#contact_email: processed outbound mail in 239.9ms
Sent mail to higginni@tcd.ie (16.5ms)
Date: Wed, 09 Mar 2016 23:01:01 +0000
From: John@webdev.ie
Reply-To: John@webdev.ie
To: higginni@tcd.ie
Message-ID: <56e0ab2d4c088_70f43ff78f97c16c80a0@Macintosh-4.local.mail>
Subject: Test
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<p>Can anyone on stack overflow help me? </p>
<p>---------------------</p>
<p>Sent by Niall from John@webdev.ie</p>
Redirected to http://localhost:3000/contacts/new
Completed 302 Found in 285ms (ActiveRecord: 0.0ms)
Started GET "/contacts/new" for ::1 at 2016-03-09 23:01:01 +0000
Processing by ContactUs::ContactsController#new as HTML
Rendered contact_us/contacts/new.html.erb within layouts/application (1.0ms)
Completed 200 OK in 66ms (Views: 65.1ms | ActiveRecord: 0.0ms)
我在终端中收到此输出,但它没有将电子邮件发送到我的帐户。我在本地运行它。