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 229895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:48:15+00:00 2026-05-11T19:48:15+00:00

I have installed restful_authentcation from technoweenie with activation, and so I see the generated

  • 0

I have installed restful_authentcation from technoweenie with activation, and so I see the generated UserMailer < ActionMailer::Base.

However, the instructions don’t include how to set it up to work with Google SMTP.

I am guessing that environments/development.rb needs to have the SMTP settings, but still not sure given Google (via Google apps) are all TLS.

Anyone set up activation using restful_authentication?

I currently put into environments.rb the following:

 ActionMailer::Base.smtp_settings = {
     :enable_starttls_auto => true,
     :address => "smtp.gmail.com",
     :port => "587",
     :domain => "mydomain.com",
     :authentication => :plain,
     :user_name => "xxx@mydomain.com",
     :password => "mypassword"

}

Thanks!!

  • 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-05-11T19:48:15+00:00Added an answer on May 11, 2026 at 7:48 pm

    As far as I know, ActionMailer doesn’t do TLS out of the box (2.3.2). A couple of months ago I had the same issue and found some code on a Japanese page and integrated that. it appears that code has been wrapped up into a plugin now (with english docs yeah!). That’s not exactly what I’m using, but it advertises the same effect.

    so add this plugin:
    http://github.com/openrain/action_mailer_tls/tree/master

    and in environments/development.rb or environements.rb you need something like this:

    ActionMailer::Base.smtp_settings = {
      :address => "smtp.gmail.com",
      :port => 587,
      :domain => "yourdomain.com",
      :user_name => "first.last@gmail.com",
      :password => "passwd",
      :authentication => :plain
    } 
    

    I see that :enable_starttls_auto => true is now in the docs, but it wasn’t when I started. this at least works for me…

    Edit: for some reason that link doesn’t work if you follow it, but copy paste in the address bar and it’s live…

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

Sidebar

Related Questions

I have installed and implemented the plugin restful_authentication from technoweenie. My application is, for
I have installed django-registration with pip, version 0.7. Then with urls.py from core.forms import
I have installed Visual Studio 2012 (aka 11) and uninstalled 2010. However I noticed
I have installed the acts_as_versioned plugin from github.com in my rails application, and there
I have installed Android SDK and packages. Since I had an error when opening
I have installed my dependencies using bundle package Then transferred them to the offline
I have installed the following components of SQL Server 2012: management tools - complete
I have installed team foundation server 2012 express and am wanting to connect through
i have installed wordpress and i i have installed couple of plugins and i
I have installed msysGit 1.7.10 on my Windows 7 machine. What I need to

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.