views:

15

answers:

1

This is the SMTP settings I use in my app and i have no idea how to hide(encrypt) the password which is presented in this settings.

ActionMailer::Base.smtp_settings = {
  :tls =>true,
  :enable_starttls_auto =>true,
  :address => "smtp.gmail.com",
  :domain => "gmail.com",
  :user_name => "somename",
  #:password => "somepassword",
  :port => 587,
  :authentication => :plain
  }
A: 

Mybe this thread may help you.

Ricardo Acras