When I'm using password recovery in Rails, I get this in the development log:
Sent mail to firstname.lastname@example.org (1024ms) Date: Sat, 21 Jul 2012 15:24:35 +0700 From: email@example.com Reply-To: firstname.lastname@example.org To: email@example.com Message-ID: <firstname.lastname@example.org> Subject: subj Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: base64 base64-encoded stuff here...
But the mail is never actually delivered. However when I'm sending mail directly through the sendmail, it works fine:
echo 'this is a test' | mail -s test_email email@example.com
What could be wrong? I'm using Rails 3.2.3 with the latest devise version (I guess devise has nothing to do with it since it forms the message alright, but still).