Bug 296456

Summary: Template placeholders for email addresses should actually hold only the email address
Product: [Applications] kmail2 Reporter: optional <kde.org>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: minor    
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description optional 2012-03-20 20:38:51 UTC
Placeholders for email addresses hold a string like so: John Doe <john@example.org>
The expected behaviour for them would be to only hold the email address like so: john@example.org - which would also allow for increased flexibility.

The use case I experience is generating a string that will be recognised by the textile parser of our project management tool (Redmine; see http://redmine.org) by formatting like so:
"%OFROMNAME":mailto:%OFROMADDR wrote:
- this would be displayed as 'John Doe wrote:' where "John Doe" is clickable in Redmine.

Getting the old variant (John Doe <john@example.org>) would still be possible easily with this:
%OFROMNAME <%OFROMADDR>

The affected placeholders are:
%TOADDR
%CCADDR
%FROMADDR

%OTOADDR
%OCCADDR
%OFROMADDR
%OADDRESSEESADDR
Comment 1 Denis Kurz 2016-09-24 18:02:26 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:28:43 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.