Bugzilla@Mozdev – Bug 25643
Display Names from Address book
Last modified: 2015-07-09 04:37:03
You need to
before you can comment on or make changes to this bug.
Would it be possible to add a %from(displayname)% feature, where displayname
would get the string as defined in the address book instead of the one from the
original message ?
I'm looking for a way to do that, and your extension seems ideal.
Anyway, many thanks for your great work.
Accepted. This is needed for a long time now. It might however be a global
switch which will just automatically resolve
(and same with to, cc, bcc)
to the Names from the address books, if their email Addresses can be found.
Created an attachment (id=7805) [details]
0.9.5 prerelease 16
Ok here is a rough version of Addressbook resolution, as requested:
It is currently hardcoded to search through all Addressbooks (using the email
address) and on the first match encountered, resolve firstname / lastname (if
they are entered in the Address book). IF firstname / lastname is requested and
not entered it will use the current algorithm (which was using the first part
of the email address) to try to determine them from the "fullName" field. So
chances are that if you have neither of the 3 entered you might end up with no
name at all. If %from(name)% is entered, st4 will create it from "firstName
lastName", provided both are entered in the address card, otherwise it will
simply use display name.
For testing, you can enable the debug settings debug and debug.mime.
Setting as Fixed as it has been implemented as global option a few versions ago
(Advanced Settings / Resolve Names from AB)