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,

------------------------
2012-02-23T05:03:20+00:00 app[web.1]: Started POST "/users" for
111.103.181.57 at 2012-02-23 05:03:20 +0000
2012-02-23T05:03:20+00:00 app[web.1]: Processing by
Devise::RegistrationsController#create as HTML
2012-02-23T05:03:20+00:00 app[web.1]: Parameters: {"utf8"=>"✓",
"authenticity_token"=>"tocsI0yvJp2ZmWf32qFPfr8K+yccHZfbro41lSAsvb0=",
"user"=>{"username"=>"そういち", "email"=>"soujiro0725@gmail.com",
"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"},
"commit"=>"Sign up"}
2012-02-23T05:03:20+00:00 app[web.1]: Rendered
devise/mailer/confirmation_instructions.html.erb (0.8ms)
2012-02-23T05:03:24+00:00 app[web.1]:
2012-02-23T05:03:24+00:00 app[web.1]: Sent mail to soujiro0725@gmail.com
(3082ms)
2012-02-23T05:03:24+00:00 app[web.1]: Redirected to
http://empty-lightning-1693.herokuapp.com/
2012-02-23T05:03:24+00:00 app[web.1]: Completed 302 Found in 3797ms
2012-02-23T05:03:24+00:00 app[web.1]: cache: [POST /users] invalidate,
pass
2012-02-23T05:03:24+00:00 heroku[router]: POST
empty-lightning-1693.herokuapp.com/users dyno=web.1 queue=0 wait=0ms
service=4063ms status=302 bytes=108
-------------------------

It certainly said "Sent mail to ...". But it doesn't come.

Does anyone have any clue?

Thanks in advance!

soichi

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

  • Javier Quarite at Feb 23, 2012 at 5:36 am
    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 received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
  • Soichi Ishida at Feb 23, 2012 at 5:58 am
    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

    --
    Posted via http://www.ruby-forum.com/.

    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
  • Javier Quarite at Feb 23, 2012 at 6:00 am

    On Thu, Feb 23, 2012 at 12:58 AM, Soichi Ishida wrote:


    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.

    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
  • Soichi Ishida at Feb 23, 2012 at 6:23 am
    Thanks. I realized there are a lot more to do.

    soichi

    --
    Posted via http://www.ruby-forum.com/.

    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedFeb 23, '12 at 5:20a
activeFeb 23, '12 at 6:23a
posts5
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Soichi Ishida: 3 posts Javier Quarite: 2 posts

People

Translate

site design / logo © 2022 Grokbase