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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org",
"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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
(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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> > You have to write the email, or you should check this >I have put config.mailer_sender = "no-reply-D7OF2DdiLZ0iQL4Q+aKrNVPlcHDwDca9cO3kVbp0F0DQT0dZR+AlfA@public.gmane.org" 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Thu, Feb 23, 2012 at 12:58 AM, Soichi Ishida <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:> > > > You have to write the email, or you should check this > > > > I have put > > config.mailer_sender = "no-reply-D7OF2DdiLZ0iQL4Q+aKrNVPlcHDwDca9cO3kVbp0F0DQT0dZR+AlfA@public.gmane.org" > > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.