First Last Prev Next    No search results available
Details
: Display Names from Address book
Bug#: 25643
: smarttemplate4
: General
Status: RESOLVED
Resolution: FIXED
: PC
: Linux
: unspecified
: P3
: enhancement
: ---

:
:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Fab <lists@munit.net>
Assigned To: Axel Grude <axel.grude@gmail.com>
:

Attachments
0.9.5 prerelease 16 (320.75 KB, application/x-xpinstall)
2014-03-05 00:03, Axel Grude
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2013-11-23 11:55
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.

Fab
------- Comment #1 From Axel Grude 2014-02-21 23:44:31 -------
Accepted. This is needed for a long time now. It might however be a global
switch which will just automatically resolve
%from(firstname)%
%from(name)%
(and same with to, cc, bcc)
to the Names from the address books, if their email Addresses can be found.
------- Comment #2 From Axel Grude 2014-03-05 00:03:19 -------
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.
------- Comment #3 From Axel Grude 2015-07-09 04:37:03 -------
Setting as Fixed as it has been implemented as global option a few versions ago
(Advanced Settings / Resolve Names from AB)

First Last Prev Next    No search results available