Bug 336186

Summary: ComposeWidget fails with e-mails that contain @ in the human readable name
Product: [Applications] trojita Reporter: Jan Kundrát <jkt>
Component: Desktop GUIAssignee: Trojita default assignee <trojita-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: danikpastushchak90, dap78
Priority: NOR    
Version First Reported In: git   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
URL: https://gerrit.vesnicky.cesnet.cz/r/904
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jan Kundrát 2014-06-13 17:30:49 UTC
I'm getting e-mails with the following header:

  From: "name.surname@example.org via RT" <support@other.domain>

The DesktopGui composer cannot reply to them directly because the at-sign in the human readable name looks like an e-mail address to the composer. It should somehow do the right thing, using quotes or whatever magic, without breaking too many rules from RFC 5322.

We should of course get a full-blown parser for this, but that's a bit out of scope right now.
Comment 1 Daniel Pastushchak 2014-12-24 18:00:02 UTC
Comment from GCI student:
It is a duplicate of https://bugs.kde.org/show_bug.cgi?id=334095 (Your authorship, too)
Comment 2 Thomas Lübking 2014-12-24 18:17:10 UTC
The two bugs have nothing in common.

bug #336186 (this one) deals w/ mail address parsing which fails for eg.
D@niel.Pastushch.ak <daniel@gmail.com> because both elements (human readable name and address) look like a valid address

bug #334095 deals w/ automatic sender idientities, ie. if you'd write at everyone@kde.org your daniel@kde.org identitiy should be chosen while writing at myboss@company.com should pick the daniel@company.com account.

Jan is btw. the Trojitá maintainer ;-P
Comment 3 Roland Pallai 2017-10-23 16:13:15 UTC
IMHO this has been fixed with 10b2ff40
Comment 4 Jan Kundrát 2017-10-24 06:01:43 UTC
Indeed, thanks.