First Last Prev Next    No search results available
Details
: ST4: Problems with reply / forward template with multiple...
Bug#: 26020
: smarttemplate4
: General
Status: RESOLVED
Resolution: FIXED
: PC
: Windows NT
: unspecified
: P2
: normal
: ---

:
:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Ralph Stadter <ralph.stadter@gmx.net>
Assigned To: Axel Grude <axel.grude@gmail.com>

Attachments
0.9.7 prerelease 131 (344.27 KB, application/x-xpinstall)
2015-05-12 05:26, Axel Grude
no flags Details
0.9.7 prerelease 133 (344.39 KB, application/x-xpinstall)
2015-05-12 08:24, 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: 2015-05-12 04:46
Version info:
ST4 0.9.6 with Thunderbird 31.6.0
___________________
Description:
When there are multiple recipients (in To or CC), this information is not
included correctly in the reply / forward:

___________________
Example:
Try your template "A creative Reply/Forward header of English/German together
with an email that has multiple recipients in To and CC (or use modified
version):

___________________
<b>Von / From:</b> %from(name,link)%
<b>An / To:</b> %to(name,link)%
[[<br><b>CC / CC:</b>"%cc(name)%" %cc(mail)%]]<br>

___________________
Result:
Von / From: {Sender Name as link}
An / To: {Recipient 1 skipped completely}, {Recipient 2 Name as link}

CC / CC:"{CC Name 1}, {CC Name 1}" {CC email 2}, {CC email 2}
___________________
Should be:
Von / From: {Sender Name as link}
An / To: {Recipient 2 Name as link}, {Recipient 2 Name as link}

CC / CC:"{CC Name 1}" {CC email 1}, "{CC Name 2}" {CC email 2}
___________________

Conclusion:
There are issues when using both (name,link) and combination of (name) with
(mail) both with %to% and %cc%. This happens independent of HTML formatting.
------- Comment #1 From Axel Grude 2015-05-12 05:26:39 -------
Created an attachment (id=8051) [details]
0.9.7 prerelease 131

Try the attached prerelease first. Also read the release notes at  [Bug 25902]

"%cc(name)%" %cc(mail)% cannot be "combined" expanded like you suggested. if
you want name + mail together you ALWAYS MUST put them into ONE variable, such
as %cc(name, mail)%. This is by design and cannot be changed.

I have written a function bracketMail() to do what you were looking for (Token
Decoration) with the mail part (but not the name).  This is basically a
function to decorate *the mail address part* within the expanded list.

It allows formating such as 

name1 "email1", name2 "email2", name3 "email3"
or
name1 [email1], name2 [email2], name3 [email3]
etc.

I guess you will need a similar function for the name e.g. bracketName()... 
------- Comment #2 From Ralph Stadter 2015-05-12 05:47:12 -------
Hi Axel,

Thank you for your extremely fast reply :)

I had actually tried %cc(name, mail)%, however, the space after the comma
creates an issue. %cc(name,mail)% works perfectly...

You may want to consider ignoring SPACE in this context - but at any rate I do
have a solution now...

Thank you very much!

Ralph
------- Comment #3 From Axel Grude 2015-05-12 08:24:53 -------
Created an attachment (id=8052) [details]
0.9.7 prerelease 133

I added another switch bracketName() for your use case, so you can now use
this:


for a linked name "Full Name" (inserts a "mailto:email" link)
%cc(bracketName(";"),link)%

for a "Full Name" followed by <email address> in angled brackets
%cc(bracketName(";"),bracketMail(angle))%


hope this helps.

First Last Prev Next    No search results available