lesce
lesce

Reputation: 6324

Rails 3 + sendmail on snow leopard

This is my development.rb file configs for action mailer

config.action_mailer.delivery_method = :sendmail config.action_mailer.raise_delivery_errors = true config.action_mailer.perform_deliveries = true

Everything works on ubuntu but on snow leopard it does nothing . This is the WEBrick output from the Terminal

Sent mail to [email protected] (840ms)
Date: Thu, 23 Feb 2012 21:36:00 +0200
from: Notificari eCatalog [email protected]
To: [email protected]
Message-ID: <[email protected]>
Subject: Notificare Ecatalog
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Completed 200 OK in 3448ms (Views: 122.1ms | ActiveRecord: 164.8ms)

Upvotes: 3

Views: 721

Answers (1)

Veraticus
Veraticus

Reputation: 16064

What exactly are you expecting to happen here? Unless your Mac postfix client is configured with a relayhost to connect to the Internet at large and perform deliveries, mail that you deliver through sendmail locally won't be delivered anywhere at all. As you noticed, you can see the mail in WEBrick's output to verify its content, but unless you take further steps it won't be delivered.

Upvotes: 3

Related Questions