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 8347331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:19:54+00:00 2026-06-09T07:19:54+00:00

I am using a button for report abuse , clicking on which ajax call

  • 0

I am using a button for report abuse, clicking on which ajax call goes to controller and after inserting post as abused in database it is returning success. On successful response it is displaying on UI topic as abused.
Now i want to send mails to admin about this. I have integrated mailer in controller, i.e. on success mailer code executes and mails are send to admin.

Now problem is that sending mails take too much time, so my ajax response time also increases. What I want is that mailer code should execute after controller sends its response, so that response time should decrease.

Thanks

  • 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-06-09T07:19:55+00:00Added an answer on June 9, 2026 at 7:19 am

    We use resque mailer – https://github.com/zapnap/resque_mailer/

    More info: https://www.ruby-toolbox.com/projects/resque_mailer

    It’s pretty easy to set up.

    More info:
    http://blog.zerosum.org/2010/1/9/resque-mailer.html
    http://www.scottw.com/simple-resque-mail-queue
    http://ku1ik.com/2011/04/05/resque-mailer-says-put-your-emails-to-background.html

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

Sidebar

Related Questions

So , I am creating a forum using php, Now there's a report button
I have already created a report using list of data from my database. i
I am using crystal report for printing . But after hosting in the server
I have built a web page which contains a Crystal Report built using the
I've a button clicking on which it shows a pop-up message. Code is given
I am using two button s Date and Time .They are working well .
I've started using the button element to submit my forms <button type=submit>Send</button> I know
I've created a button using HTML/CSS and a Java script. The button should direct
Actually I created a button using the cobogw widget library. But the button does
I am trying to display a button using jQuery template. The code is as

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.