Project

General

Profile

Actions

Patch #29614

closed

redmine:email:read and rdm-mailhandler.rb should use safe_receive instead of receive

Added by Go MAEDA over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Email receiving
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Since r12995, rake redmine:email:receive_imap and rake redmine:email:receive_pop3 use MailHandler.safe_receive instead of receive to handle exceptions which raised while processing broken email. However, rake redmine:email:read and MailHandlerController#index (invoked from rdm-mailhandler.rb) still uses receive method, not safe_receive method.

I think rake redmine:email:read and MailHandlerController#index should also use safe_receive method instead of receive method to handle exceptions in a same way with receive_imap and receive_pop3.


Files


Related issues

Related to Redmine - Defect #16122: redmine:email:receive should not abort with buggy mailNew

Actions
Actions #1

Updated by Go MAEDA over 6 years ago

  • Related to Defect #16122: redmine:email:receive should not abort with buggy mail added
Actions #2

Updated by Go MAEDA over 6 years ago

  • Target version set to 4.0.0
Actions #3

Updated by Jean-Philippe Lang about 6 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang

Committed, thanks.

Actions

Also available in: Atom PDF