Open Sambuca85 opened 10 years ago
You sould setup emial method. Sample example using gamil smtp
File config/environments/production.rb to look like this:
config.action_mailer.smtp_settings = { address: "smtp.gmail.com", port: 587, domain: "example.com", authentication: "plain", enable_starttls_auto: true, user_name: ENV["GMAIL_USERNAME"], password: ENV["GMAIL_PASSWORD"] }
You can replace ENV["GMAIL_USERNAME"] and ENV["GMAIL_PASSWORD"] with your Gmail username and password. However, committing the file to a public GitHub repository will expose your secret password. See the article Rails Environment Variables to learn how to set local environment variables to keep email account passwords secret.
You can use https://github.com/stephenb/sendgrid https://sendgrid.com/docs/Integrate/Frameworks/rubyonrails.html
i've installed in my vps but don't send mail confirmation...