jens-maus / yam

:mailbox_with_mail: YAM (short for 'Yet Another Mailer') is a MIME-compliant open-source Internet email client written for Amiga-based computer systems (AmigaOS4, AmigaOS3, MorphOS, AROS). It supports POP3, SMTP, TLSv1/SSLv3 connection security, multiple users, multiple identities, PGPv2/v5 encryption, unlimited hierarchical folders, an ARexx interface, etc...
https://yam.ch
GNU General Public License v2.0
62 stars 18 forks source link

Don't just remove "two-chars:" on reply #17

Open jens-maus opened 8 years ago

jens-maus commented 8 years ago

Originally by mario@cattaneo.de on 2010-03-03 16:39:08 +0100


I think it is not nice that YAM removes any "two chars and colon"-strings on reply from the subject. E.g. a subject starting with "OT:" should keep this string. Or try to send a MAC-Addresse like "AB:CE:1A:0F" and see what's left of it. :-)

jens-maus commented 8 years ago

Originally by tactica on 2010-03-03 16:39:35 +0100


I agree, YAM should only remove RE: and AW: as IIRC it originally did when Marcel last touched this unless there's a really good reason to do otherwise.

jens-maus commented 8 years ago

Originally on 2010-03-03 16:40:02 +0100


Sorry, but you recall incorrectly. According to the relevant code passages YAM was always stripping all kind of "two chars and colon" strings from a subject line in case of a reply. However, I do agree as well that this should be changed and YAM should better fall back to check for common abbreviations like 'Re:', 'AW:', 'Fwd:' and so on. Unfortuantely there isn't any standard or RFC describing a common way how to do that. In addition YAM seems to also strip multiple mailing list seperators like [yam] from a subject line. This might be also a critical job...

jens-maus commented 8 years ago

Originally on 2014-04-22 21:06:18 +0200


It seems to be reasonable to move this ticket to the 2.10 milestone as it seems to be a fairly easy candidate to do. The only complicated thing to implement might be the regular expression for stripping all kind of subject line abbreviations. So the one implementing this request should consider studying the following URLs first:

http://stackoverflow.com/questions/9153629/regex-code-for-removing-fwd-re-etc-from-email-subject http://en.wikipedia.org/wiki/List_of_email_subject_abbreviations