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
Actions