Defect #25256

Mail parts with empty content should be ignored

Added by Felix Schäfer 8 months ago. Updated 8 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Email receiving
Target version:3.4.0
Resolution:Fixed Affected version:3.3.2

Description

Some email clients seem to send text parts that are empty with html emails. Those empty text parts should be ignored.

25256-ignore_empty_email_parts.patch Magnifier (3.54 KB) Felix Schäfer, 2017-03-03 15:35


Related issues

Related to Redmine - Defect #25269: Emails with no text or html Content not handled properly Closed

Associated revisions

Revision 16371
Added by Jean-Philippe Lang 8 months ago

Mail parts with empty content should be ignored (#25256).

Patch by Felix Schäfer.

Revision 16379
Added by Jean-Philippe Lang 8 months ago

Emails with no text or html Content not handled properly (#25269, #25256).

Patch by Felix Schäfer.

History

#1 Updated by Felix Schäfer 8 months ago

The attached patch makes the mail_handler ignore text or html parts that have no meaningful content.

#2 Updated by Jean-Philippe Lang 8 months ago

  • Target version set to 3.4.0

#3 Updated by Jean-Philippe Lang 8 months ago

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

Patch applied, thanks.

#4 Updated by Felix Schäfer 8 months ago

Thank you.

#5 Updated by Go MAEDA 8 months ago

  • Status changed from Closed to Reopened

Fix for this patch has been submitted as #25269.

The change to the handling of incoming emails committed in r16371 and proposed in #25256 unfortunately improperly handles emails with multipart content but no content in a text or html part of the email. This might be the case if the email is intentionally left blank.

#6 Updated by Go MAEDA 8 months ago

  • Related to Defect #25269: Emails with no text or html Content not handled properly added

#7 Updated by Jean-Philippe Lang 8 months ago

  • Status changed from Reopened to Closed

Fix applied.

Also available in: Atom PDF