When I'm using password recovery in Rails, I get this in the development log:
Sent mail to email@example.com (1024ms) Date: Sat, 21 Jul 2012 15:24:35 +0700 From: firstname.lastname@example.org Reply-To: email@example.com To: firstname.lastname@example.org Message-ID: <email@example.com> 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 firstname.lastname@example.org
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).