プロジェクト

全般

プロフィール

Vote #81574

未完了

Ignore text email parts only stating that the email should be viewed as HTML

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Email receiving_29
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
29
version_id:
0
issue_org_id:
35679
author_id:
3866
assigned_to_id:
0
comments:
2
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

As already discussed in #30838 some emails now contain "Your email client does not support HTML messages." in the text part and the interesting bits in the HTML part. This can be solved with the "prefer HTML" setting introduced in #30838.

We would like to propose a patch to still ignore email text parts stating "Your email client does not support HTML messages." or similar with a blacklist. This way users preferring text parts and/or not aware of the new option do not need to see those parts in Redmine.


journals

The attached patch is a minimal implementation of a blocklist approach to ignoring text parts that only refer to the HTML part.

The second line in the Regex actually matches texts containing a link to an online version and shows how the regexes can be more complicated that just a "simple" blocklist.

We have also discussed other approaches, for example ignoring the text part if the content of the text part is several times smaller than the text content of the HTML part, this would require some bigger changes to the @mail_handler@.

Do you think this would be an improvement to Redmine? Should we also try implementing the second proposal or would the Regex-based solution be a good first step?
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,New,34974,Change the default value for "Preferred part of multipart (HTML) emails" from "Text" to "HTML"

Admin Redmine さんが約2年前に更新

  • カテゴリEmail receiving_29 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0