First Last Prev Next    No search results available
: Add operator to make address part arguments (name,firstna...
Bug#: 26597
: smarttemplate4
: General
Resolution: FIXED
: PC
: Windows NT
: unspecified
: P3
: enhancement
: ---

  Show dependency tree - Show dependency graph
Reporter: Axel Grude <>
Assigned To: Axel Grude <>

1.6 prerelease 216 (503.20 KB, application/x-xpinstall)
2018-10-26 03:14, Axel Grude
no flags Details
1.6 prerelease 240 (504.60 KB, application/x-xpinstall)
2018-10-28 10:34, Axel Grude
no flags Details


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

Related actions

Description:   Opened: 2018-10-26 03:07
New operator ?? can be used to make parts of an address header optional.


the part will be omitted if other parts return something.



If no name is given:  ==>

If name is given:

Fred <> ==> Fred
------- Comment #1 From Axel Grude 2018-10-26 03:14:24 -------
Created an attachment (id=8542) [details]
1.6 prerelease 216

Test version. You can use ?? on any argument of 

------- Comment #2 From Axel Grude 2018-10-28 10:34:05 -------
Created an attachment (id=8545) [details]
1.6 prerelease 240

Added the possibility to add ?? as optional parameter to the bracketMail() /
bracketName() arguments.

If ?? is prefixed to any of the possible arguments of bracketMail, the bracket
expressions will only show up if other parts of the header expression exist

For instance 


will display either
name <email>
when a name can be found, or 
when no name can be found and thus email is the only string returned. in this
case the angle brackets are omitted.
------- Comment #3 From Axel Grude 2019-07-28 07:19:29 -------
Resolved Completed: Version 2.0 - 23/12/2018

First Last Prev Next    No search results available