Forum
Samuel Plentz2009-12-24 00:28:54
In TB2 I was able to use "Hello [[TO=...]]" with mailing lists.

For a mailing list "friends" containing the contacts Peter, Paul and Linda the result was:
"Hello Peter, Paul, Linda"

In TB3 this doesn't work anymore. Instead nothing is inserted. (Not even the word "Hello")

As a workaround I could add the contacts of Peter, Paul and Linda to 3 separate lines. Then it works like expected: "Hello Peter, Paul, Linda"

BTW: Happy Holidays.
WizKid2009-12-24 14:15:40
My guess is that Mozilla changed something with mailing lists for TB3 so I need to look into that.
Samuel Plentz2009-12-24 14:18:02
Could you tell me what part of the code it is?
Is it the "process_to" function?
WizKid2009-12-24 15:09:59
Yes. It should be there.
Samuel Plentz2009-12-25 12:18:31
To make it work, I changed the following 2 lines:

A) subDirectory.addressLists.Count();
...
B) subDirectory.addressLists.QueryElementAt(j, Components.interfaces.nsIAbCard);

to:
A) var listCardsCount = subDirectory.addressLists.length;
...
B) subDirectory.addressLists.queryElementAt(j, Components.interfaces.nsIAbCard);

So "Count()" was replaced by "length" and "QueryElementAt" by "queryElementAt" (case of letter "Q").
1
Create post
You need to login before posting in the forum