bseanvt
-
07:45:34 pm on May 10, 2009 |
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, just for testing normally, I start it manually.
sudo postfix start
That should do it!
Advertisement
Matthew 8:51 pm on December 11, 2009 | # |
Hi, why would you do this and not use ActionMailer?
I’m fairly new to Rails and not sure if I’m just being ignorant :/
bseanvt 4:59 pm on December 12, 2009 | # |
Use Pony http://seanbehan.com/programming/send-mail-in-ruby-with-a-pony/
bseanvt 8:57 pm on June 1, 2010 | # |
oops… misread your comment. the mta has nothing to do w/ rails. the mta is the agent that does the actual sending. postfix or sendmail are the two most common. actionmailer is just the ruby library that you use to communicate w/ the mailserver. in dev mode i wanted postfix for testing mail from my apps.