Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8328183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:21:26+00:00 2026-06-09T01:21:26+00:00

For some reason it seems like my smtp settings are not being applied. I

  • 0

For some reason it seems like my smtp settings are not being applied. I have them set up in application.rb,

# application.rb     
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
  :address              => "smtp.gmail.com",
  :port                 => 587,
  :domain               => "blah.com",
  :user_name            => "user@blah.com",
  :password             => "pwd",
  :authentication       => 'plain',
  :enable_starttls_auto => true
}

but when I try to send mail (using ExceptionNotification) I’m getting a connect failed error, and some poking around shows me that the settings used by the mail gem are.

{:address=>"localhost", :port=>25, :domain=>"localhost.localdomain", :user_name=>nil, :password=>nil, :authentication=>nil, :enable_starttls_auto=>true, :openssl_verify_mode=>nil, :ssl=>nil, :tls=>nil}

I’ve never seen this problem with rails (3.2.7) before, so I suspect it’s something I’m doing, but I’ve grepped for other things modifying the settings and I can’t find anything. Anybody have any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T01:21:27+00:00Added an answer on June 9, 2026 at 1:21 am

    As usual, I spend hours trying to figure out what the problem is, but as soon as I post it on SO, I figure out what’s going on :S

    I had ExceptionNotifier disabled in dev mode as usual, but the gem is still included, so it still tried to do everything. Apparently the mail configuration was one of the things that wasn’t being done.

    Solution: enable in dev mode or run in prod.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This seems like it should be really simple, but for some reason, I'm not
It seems like it's not possible for some reason but it worth a try:
For some reason, siginterrupt() only seems to set the behaviour for the first signal
for some reason this UITableView keeps crashing and it seems like the UITableView is
This seems like it should be fairly simple, but for some reason I can't
For some reason it seems like .each block iterate only once, when I write
For some reason I need to fetch emails from /var/mail/username file. It seems like
Edit: for some reason it seems like its refreshing the page upon hitting the
This seems like the most common relationship but for some reason I cannot get
This seems like it should work but for some reason it isn't. Can anyone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.