Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6143217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:29:43+00:00 2026-05-23T18:29:43+00:00

Rails 2.3.5 I’ve been adding an email system to a ‘tickets’ type application. This

  • 0

Rails 2.3.5

I’ve been adding an email system to a ‘tickets’ type application. This morning the email server wend down for a few minutes and I noticed (at least in development mode) Rails will just halt executing and come back with a timeout error.

On the user side, it looks like there was no result to the action they just took (new ticket created, edited, commented on, completed, etc).

1) Is there some method to use continue after an actionmailer error like VB’s ‘on error resume next’ – so that the app just doesn’t stop in process for the user because there was a problem sending a notifier email ?

2) In the controller methods, I’m sending the email and then performing the render/redirects. Is it possible to complete the ticket action taken and get the user to the new/next page before the email is sent? Like the user clicks ‘complete’ and the complete action sets a flash msg and redirects to the index page, AND THEM actionmailer fires?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:29:44+00:00Added an answer on May 23, 2026 at 6:29 pm

    I would strongly suggest looking into something like DelayedJob, or Resque to hand off from your application to process the emails in the background – that way the end user isn’t waiting for the process to completed and you can then handle retries etc in the background.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Rails newbie, thanks for help with this hopefully basic JSON type question.... I have
Rails 3.1 I'll simplify my application to get at my question. I have two
Rails 3.1, ActiveAdmin 0.3.4. My question is somewhat similar to this one but different
Rails newbie here so just want to be sure I'm doing this right. I
rails 2.3.4, sqlite3 I'm trying this Production.find(:all, :conditions => ["time > ?", start_time.utc], :order
rails s=> Started GET /assets/application.css?body=1 for 127.0.0.1 at 2011-10-11 03:37:03 -0900 Served asset /application.css
Rails has been good with automatically inserting correctly formatted datetimes in MySql without the
Rails 2.3.3 Database and Model Schema User (id,name,email) posts (id,subject,message,user_id) How can I display
Rails 3 recommend Rest. For example, I make Blog system. ### PostsController # show
Rails 3. I installed compass and I started to modify application.html.haml to convert it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.