Topic RSS
I'm not sure why this is giving you trouble. Perhaps commas or quotes in the real author are interfering somehow with the string? The author field could look like:
"Kent James" <kent@caspia.com>
for example.
This also might be system dependent. Are you running Windows? If so, if you sent me an email from you (to kent@caspia.com) , that you also try to process yourself with a Run File filter action, then perhaps I could test precisely what you are doing. But as a warning, I may not get to it right away, as this is always pain for me to test as I have to setup an external program to run.
rkent
1:15 pm
Thanks for looking into this issue. I will also send this text in an email message.
For an external testing program, I've been using a batch file with 'mkdir c:\temp\XX_%1' as the contents.
Interestingly I did modify your example Javascript action which did properly extract the author:
for (let index = 0; index < msgHdrs.length; index++)
{
let hdr = msgHdrs.queryElementAt(index, Ci.nsIMsgDBHdr);
hdr.subject = "_"+ hdr.author;
}
Sam
Most Users Ever Online: 18
Currently Online:
10 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Member Stats:
Guest Posters: 130
Members: 565
Moderators: 1
Admins: 1
Forum Stats:
Groups: 1
Forums: 7
Topics: 231
Posts: 802
Newest Members: Matteo, p.dobrogost, gaute, Mythobeast, terry, Livraria Notre Dame
Moderators: rkent (323)
Administrators: rkent (323)
Log In
Register
Members
Home
Add Reply
Add Topic
Quote
Offline

Recent Comments