Bseanvt's Weblog

  • 07:45:34 pm on May 10, 2009 | 3
    Tags: , ,

    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
     

Comments

  • Matthew 8:51 pm on December 11, 2009 | # | Reply

    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 8:57 pm on June 1, 2010 | # | Reply

    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.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.