Confirmation mail doesn't arrive

Rails 3.1.3

I have created a Rails application on Heroku using Devise. User accounts need confirmation so the application should send mails after sign up. But it does not send mail at all.

I am in a trouble because it does not really show any particular error. But "heroku logs" gives,

Have you checked config/devise.rb?

You have to write the email, or you should check this

https://github.com/plataformatec/devise/wiki/How-To:-Mass-password-reset-and-email-notification

Javier Q.

You have to write the email, or you should check this

I have put

  config.mailer_sender = "no-reply@empty-lightning-1693.herokuapp.com"

in config/initializers/devise.rb

Is this enough?

soichi

To be honest I’ve never tried it in heroku, once I saw this but didn’t try

http://devcenter.heroku.com/articles/smtp

Javier Q.

Thanks. I realized there are a lot more to do.

soichi