Re: Debugging Email
Try setting ActionMailer::Base.*raise_delivery_errors* = true in your config/environments/production.rb and see if the sending process raises anything. - David On Mon, Nov 16, 2009 at 10:05 AM, Neil wrote: > We have an app that's sending out emails on certain events. In > development this works fine, but in production (on Heroku) we're not > getting any email coming out of the app. > > I can't see anything in the logs that looks useful, and am struggling > to think how to debug this. Do you guys have any tips? I am using > the Sendgrid add-on. > > -- > > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=. > > > -- David Dollar -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Debugging Email
Is ActionMailer configured to raise? Make sure you have on your environment: config.action_mailer.raise_delivery_errors = true On Tue, Nov 17, 2009 at 11:09 AM, Ed Jones wrote: > Just debugged an email issue this morn. When it is sending email, the > log says: > Processing InvitesController#create (for 70.104.99.82 at 2009-11-17 > 11:04:56) > OST] > Parameters: {"commit"=>"Create", "invite"=>{"to"=>" > \...@edwincjones.com"}, > uthenticity_token"=>"qtUm866Eyim...E="} > Sent mail to edjo...@openhistoryproject.org > Sent mail to �...@edwincjones.com > Redirected to http://www.whendidji.com/myaccount > Completed in 19958ms (DB: 17) | 302 Found [http://www.whendidji.com/ > invites] > > When its not working, no such message appears. > > > > On Nov 16, 10:47 am, Neil Middleton wrote: >> Thinking about this I guess what would be really handy is some sort of >> easily accessible log of sent email or something. >> >> I'll keep head scratching. >> >> /Neil >> >> On Mon, Nov 16, 2009 at 3:37 PM, Carl Fyffe wrote: >> > It isn't a great way to debug, but you should probably test it on a >> > "staging branch" on heroku. There's a great write up here: >> >> >http://stackoverflow.com/questions/1279787/staging-instance-on-heroku >> >> > On Mon, Nov 16, 2009 at 10:05 AM, Neil wrote: >> > > We have an app that's sending out emails on certain events. In >> > > development this works fine, but in production (on Heroku) we're not >> > > getting any email coming out of the app. >> >> > > I can't see anything in the logs that looks useful, and am struggling >> > > to think how to debug this. Do you guys have any tips? I am using >> > > the Sendgrid add-on. >> >> > > -- >> >> > > You received this message because you are subscribed to the Google Groups >> > "Heroku" group. >> > > To post to this group, send email to her...@googlegroups.com. >> > > For more options, visit this group at >> >http://groups.google.com/group/heroku?hl=. >> >> > -- >> >> > You received this message because you are subscribed to the Google Groups >> > "Heroku" group. >> > To post to this group, send email to her...@googlegroups.com. >> > For more options, visit this group at >> >http://groups.google.com/group/heroku?hl=. > > -- > > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=. > > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=.
Re: Debugging Email
Just debugged an email issue this morn. When it is sending email, the log says: Processing InvitesController#create (for 70.104.99.82 at 2009-11-17 11:04:56) OST] Parameters: {"commit"=>"Create", "invite"=>{"to"=>" \...@edwincjones.com"}, uthenticity_token"=>"qtUm866Eyim...E="} Sent mail to edjo...@openhistoryproject.org Sent mail toe...@edwincjones.com Redirected to http://www.whendidji.com/myaccount Completed in 19958ms (DB: 17) | 302 Found [http://www.whendidji.com/ invites] When its not working, no such message appears. On Nov 16, 10:47 am, Neil Middleton wrote: > Thinking about this I guess what would be really handy is some sort of > easily accessible log of sent email or something. > > I'll keep head scratching. > > /Neil > > On Mon, Nov 16, 2009 at 3:37 PM, Carl Fyffe wrote: > > It isn't a great way to debug, but you should probably test it on a > > "staging branch" on heroku. There's a great write up here: > > >http://stackoverflow.com/questions/1279787/staging-instance-on-heroku > > > On Mon, Nov 16, 2009 at 10:05 AM, Neil wrote: > > > We have an app that's sending out emails on certain events. In > > > development this works fine, but in production (on Heroku) we're not > > > getting any email coming out of the app. > > > > I can't see anything in the logs that looks useful, and am struggling > > > to think how to debug this. Do you guys have any tips? I am using > > > the Sendgrid add-on. > > > > -- > > > > You received this message because you are subscribed to the Google Groups > > "Heroku" group. > > > To post to this group, send email to her...@googlegroups.com. > > > For more options, visit this group at > >http://groups.google.com/group/heroku?hl=. > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Heroku" group. > > To post to this group, send email to her...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/heroku?hl=. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=.
Re: Debugging Email
Thinking about this I guess what would be really handy is some sort of easily accessible log of sent email or something. I'll keep head scratching. /Neil On Mon, Nov 16, 2009 at 3:37 PM, Carl Fyffe wrote: > It isn't a great way to debug, but you should probably test it on a > "staging branch" on heroku. There's a great write up here: > > http://stackoverflow.com/questions/1279787/staging-instance-on-heroku > > On Mon, Nov 16, 2009 at 10:05 AM, Neil wrote: > > We have an app that's sending out emails on certain events. In > > development this works fine, but in production (on Heroku) we're not > > getting any email coming out of the app. > > > > I can't see anything in the logs that looks useful, and am struggling > > to think how to debug this. Do you guys have any tips? I am using > > the Sendgrid add-on. > > > > -- > > > > You received this message because you are subscribed to the Google Groups > "Heroku" group. > > To post to this group, send email to her...@googlegroups.com. > > For more options, visit this group at > http://groups.google.com/group/heroku?hl=. > > > > > > > > -- > > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=. > > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=.
Re: Debugging Email
It isn't a great way to debug, but you should probably test it on a "staging branch" on heroku. There's a great write up here: http://stackoverflow.com/questions/1279787/staging-instance-on-heroku On Mon, Nov 16, 2009 at 10:05 AM, Neil wrote: > We have an app that's sending out emails on certain events. In > development this works fine, but in production (on Heroku) we're not > getting any email coming out of the app. > > I can't see anything in the logs that looks useful, and am struggling > to think how to debug this. Do you guys have any tips? I am using > the Sendgrid add-on. > > -- > > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=. > > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=.