Project

General

Profile

Actions

Patch #613

closed

Asynchronous email delivery

Added by eneko taberna almost 17 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Email notifications
Target version:
Start date:
2008-02-06
Due date:
% Done:

0%

Estimated time:

Description

As suggested at http://www.datanoise.com/articles/2006/7/14/asynchronous-email-delivery , the email delivery delay experienced by users can be almost eliminated creating a new Thread to handle the delivery.

This code at the public part of Mailer.rb model is the most simplistic way to achieve it :

@alias_method :old_deliver, :deliver! unless method_defined?(:old_deliver)

def deliver!()
Thread.start(mail) do |email|
old_deliver
end
end@


Related issues

Related to Redmine - Defect #4228: no notification on issue creation by mail with redmine:email:receive_imapClosed2009-11-17

Actions
Related to Redmine - Defect #5058: reminder mails are not sent when delivery_method is :async_smtpClosed2010-03-12

Actions
Actions #1

Updated by Jean-Philippe Lang almost 16 years ago

  • Status changed from New to Closed
  • Target version set to 0.9.0

Added in r2339. Use :async_smtp instead of :smtp to enable asynchronous email delivery.

Actions

Also available in: Atom PDF