我在控制台模拟 发邮件
QuestionMailer.question_notify_eamil("this is question......").deliver
得到的消息如下
Sent mail to lu3501037@gmail.com (60948.6ms)
Date: Tue, 11 Feb 2014 19:06:05 +0800
From: lu3501037@gmail.com
To: lu3501037@gmail.com
Message-ID: <52fa041d63af4_6df3fef150606dc73417@lu-MacBook-Pro.local.mail>
Subject: there are some questions about this page
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_52fa041d5d2da_6df3fef150606dc733b0";
charset=UTF-8
Content-Transfer-Encoding: 7bit
----==_mimepart_52fa041d5d2da_6df3fef150606dc733b0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
----==_mimepart_52fa041d5d2da_6df3fef150606dc733b0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
this is question
this is question......
----==_mimepart_52fa041d5d2da_6df3fef150606dc733b0--
=> #<Mail::Message:70296099380180, Multipart: true, Headers: <Date: Tue, 11 Feb 2014 19:06:05 +0800>, <From: [email protected]>, <To: [email protected]>, <Message-ID: <[email protected]>>, <Subject: there are some questions about this page>, <Mime-Version: 1.0>, <Content-Type: multipart/alternative; boundary="--==_mimepart_52fa041d5d2da_6df3fef150606dc733b0"; charset=UTF-8>, <Content-Transfer-Encoding: 7bit>>
这是否发送成功 我登陆 gmail 没有收到 昨天晚上发出的 到现在也没看到。