You’ll need a mail transport agent (MTA). I installed and used postfix using Mac Ports.
sudo port install postfix
You’ll need to start postfix, to send mail from your Rails application. You can set it as a startup item and it will start on boot. However, since I don’t send too much mail from my Rails app, [...]
Sending eMail with Rails on Mac OS X Development Environment