How to setup Postfix for Ruby On Rails to send email -


i want have postfix send email in ror project. safer , hax more functionality.

but i'm quite lost. installed postfix, got ror working. next should do?

(i need send email, not receive @ moment)

should configure postfix, make able send email in comment line first, integrate ror?

if so, how should set configure file in postfix, , how settings in rails?

or need every setting in rails? if so, should detailed setting?

i'm quite confused. lots of tutorials either not working or not suit situation.

example action mailer configuration

an example adding following appropriate

config/environments/$rails_env.rb file:

config.action_mailer.delivery_method = :sendmail # defaults to: # config.action_mailer.sendmail_settings = { #   location: '/usr/sbin/sendmail', #   arguments: '-i -t' # } config.action_mailer.perform_deliveries = true config.action_mailer.raise_delivery_errors = true config.action_mailer.default_options = {from: 'no-reply@example.com'} 

more information: http://guides.rubyonrails.org/action_mailer_basics.html


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -