Sha256: a7a9b987a3a0b2ba57a6081832ad22244670d7e94090c12e14bff4d43861348e
Contents?: true
Size: 757 Bytes
Versions: 2
Compression:
Stored size: 757 Bytes
Contents
# If you wish to intercept emails to go to a particuar email address # ActionMailer::Base.register_interceptor(DevelopmentMailInterceptor) if Rails.env.development? ActionMailer::Base.delivery_method = :smtp Mail.register_interceptor(Phoenix::Core::DevelopmentMailInterceptor) if Rails.env.development? # This assumes you're running your local development server on port 3000 via $ rails server ActionMailer::Base.default_url_options = { :host => "localhost:3000" } ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 25, :domain => "zhuke.me", :authentication => :login, :user_name => "zhuke.me@gmail.com", :password => "zhuke.me001", :tls => true }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phoenix_core-0.2.1.beta | config/initializers/setup_mail.rb |
phoenix_core-0.2.0.beta | config/initializers/setup_mail.rb |