fulcrum-agile / fulcrum

An agile project planning tool
http://wholemeal.co.nz/projects/fulcrum.html
GNU Affero General Public License v3.0
1.5k stars 350 forks source link

don't send mail confirmation #229

Open Sambuca85 opened 10 years ago

Sambuca85 commented 10 years ago

i've installed in my vps but don't send mail confirmation...

shyammohankanojia commented 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