Actions
Patch #29614
closedredmine:email:read and rdm-mailhandler.rb should use safe_receive instead of receive
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
Updated by Go MAEDA about 7 years ago
- Related to Defect #16122: redmine:email:receive should not abort with buggy mail added
Updated by Jean-Philippe Lang about 7 years ago
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
Committed, thanks.
Actions