Created
January 17, 2010 16:33
-
-
Save elricstorm/279439 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set up email server using Gmail | |
ActionMailer::Base.delivery_method = :smtp | |
ActionMailer::Base.smtp_settings = { | |
:enable_starttls_auto => :true, | |
:address => "smtp.gmail.com", | |
:port => 587, | |
:domain => "yourdomain.com" , | |
:authentication => :plain, | |
:user_name => "your_username" , | |
:password => "your_password", | |
:tls => :true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Be sure to restart your server when you modify this file | |
# Specifies gem version of Rails to use when vendor/rails is not present | |
RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION | |
# Bootstrap the Rails environment, frameworks, and default configuration | |
require File.join(File.dirname(__FILE__), 'boot') | |
Rails::Initializer.run do |config| | |
%w(observers sweepers mailers).each do |dir| | |
config.load_paths << "#{RAILS_ROOT}/app/#{dir}" | |
end | |
config.time_zone = 'UTC' | |
config.action_mailer.perform_deliveries = :true | |
config.action_mailer.raise_delivery_errors = :true | |
config.action_mailer.default_charset = "utf-8" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment