I am really noob at this.
So I want to ask how to set up actionmailer?
I know i need to add this chunk of code to environment.rb
ActionMailer::Base.delivery_method = :sendmail
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.default_charset = "utf-8"
but where do i add it?
Do i add it at the end of the file or inside the Rails::Initializer.run do |config|?
Thank you.