Mail Tweak (for Thunderbird)
- Rod Whiteley
- Posts: 11480
- Joined: December 6th, 2004, 3:41 am
- Location: UK
- roparr2
- Posts: 1170
- Joined: January 9th, 2008, 2:01 am
- Location: 40.96028, -73.85167
- Rod Whiteley
- Posts: 11480
- Joined: December 6th, 2004, 3:41 am
- Location: UK
-
- Posts: 118
- Joined: February 6th, 2008, 5:13 am
Localization
Hallo, how is it about localization of the Mail Tweak extension? Can I send localized files to somebody? TX! h
-
- Posts: 2
- Joined: February 7th, 2008, 11:43 am
Using CSV file to Personalize messages
I am trying to use a CSV file to personalize email messages I send out. I have been unable to figure out how to use the email field from the CSV file to populate the To: field in the email. Can someone help?
-
- Posts: 118
- Joined: February 6th, 2008, 5:13 am
Re: khc7
I am not too familiar with Mail Tweak so far but this works when I test it:
1. make a csv file (any text file with .csv termination) like this, e.g.:
default_Email
first@email.foo
second@email.foo
third@email.foo
(no matter what you write into the 1st line!)
2. go to Thunderbird, select Message/Personalize... - now a window of a new message appears. Fill in a subject and a message body then
3. click "Personalize" (a button left at upper left corner of the message window)
4. now you are asked to localizate a csv file - do it - OK
5. confirm sending mails
6. done, we made it:-)
Look at http://journal.mozdev.org/mailtweak.html to the bottom part for more.
h
1. make a csv file (any text file with .csv termination) like this, e.g.:
default_Email
first@email.foo
second@email.foo
third@email.foo
(no matter what you write into the 1st line!)
2. go to Thunderbird, select Message/Personalize... - now a window of a new message appears. Fill in a subject and a message body then
3. click "Personalize" (a button left at upper left corner of the message window)
4. now you are asked to localizate a csv file - do it - OK
5. confirm sending mails
6. done, we made it:-)
Look at http://journal.mozdev.org/mailtweak.html to the bottom part for more.
h
-
- Posts: 2
- Joined: February 7th, 2008, 11:43 am
I tried this. However, the CSV file I use is generated automatically and it has other emails fields that I don't want to use. According to
http://journal.mozdev.org/mailtweak.html I should be able to assign a specific field to be used to populate the email addresses. Here is exactly what it says:
In each record of a CSV file, the first field that contains an @ sign is taken to be the e-mail address. Alternatively, set the preference extension.mailtweak.personal.csv.to to the name of the field that contains the e-mail address, changing spaces in the name to underscores.
However, I was unable to figure out how to set the preference to the name of the field I want to use as it says I can.
http://journal.mozdev.org/mailtweak.html I should be able to assign a specific field to be used to populate the email addresses. Here is exactly what it says:
In each record of a CSV file, the first field that contains an @ sign is taken to be the e-mail address. Alternatively, set the preference extension.mailtweak.personal.csv.to to the name of the field that contains the e-mail address, changing spaces in the name to underscores.
However, I was unable to figure out how to set the preference to the name of the field I want to use as it says I can.
-
- Posts: 118
- Joined: February 6th, 2008, 5:13 am
Hi khc7, I test to use CVS file with more fields (separated by ",") and that fields are named randomly (independetly on nsIAbCard) and I use names of that fields in a mail - and it works! E.g.:
email,name
first@email.foo,John
second@email.foo,Peter
third@email.foo,Mike
I write a personalized test mail with this text: Hallo %%name%%!
And it works! I get 3 mails to three e-addresses: "Hallo John!", "Hallo Peter!", "Hallo Mike!"
So I go upon it and think you can have a field named e.g. "mail" in your CSV file and if you modify the "extension.mailtweak.personal.csv.to" to the "mail" value it should work. You should modify the "extension.mailtweak.personal.csv.charset" to specify the charset of the CSV file maybe too?
Test it please and let me know. h
email,name
first@email.foo,John
second@email.foo,Peter
third@email.foo,Mike
I write a personalized test mail with this text: Hallo %%name%%!
And it works! I get 3 mails to three e-addresses: "Hallo John!", "Hallo Peter!", "Hallo Mike!"
So I go upon it and think you can have a field named e.g. "mail" in your CSV file and if you modify the "extension.mailtweak.personal.csv.to" to the "mail" value it should work. You should modify the "extension.mailtweak.personal.csv.charset" to specify the charset of the CSV file maybe too?
Test it please and let me know. h
-
- Posts: 21
- Joined: April 4th, 2005, 11:31 am
- Location: California
Hi.
I just found this extension today by accident, searching for something else. It's great, from what little I've tried of the features. Just the asking about saving sent messages is worth it!
However, it doesn't do what I was searching for, so I thought I'd ask if it could, or if there's something else that does. mailtweak can lock the sort order of a group, which is very handy. However, I'm trying to find a way to force all folders to change to View->Sort By->Threaded. This is how I want to see my messages 99.99% of the time. At least with mailtweak, once I change them, they'll stay, but it's still a big pain to change over a 100 folders.
Thanks for the extension and any help!
David
I just found this extension today by accident, searching for something else. It's great, from what little I've tried of the features. Just the asking about saving sent messages is worth it!
However, it doesn't do what I was searching for, so I thought I'd ask if it could, or if there's something else that does. mailtweak can lock the sort order of a group, which is very handy. However, I'm trying to find a way to force all folders to change to View->Sort By->Threaded. This is how I want to see my messages 99.99% of the time. At least with mailtweak, once I change them, they'll stay, but it's still a big pain to change over a 100 folders.
Thanks for the extension and any help!
David
-
- Posts: 118
- Joined: February 6th, 2008, 5:13 am
khc7 wrote:However, I was unable to figure out how to set the preference to the name of the field I want to use as it says I can.
Well I see we cannot fill in the "To:" field from the moment we set a value for "extension.mailtweak.personal.csv.to".
So I find the only solution now: to delete the setting for "extension.mailtweak.personal.csv.to" and to open the csv file with a spreadsheet program and move the field with email addresses ahead to the 1st position. It works from aside the "@" character occurs anywhere else.
h
- Rod Whiteley
- Posts: 11480
- Joined: December 6th, 2004, 3:41 am
- Location: UK
I do not think there is any easy way to do that.unfrostedpoptart wrote:...force all folders to change to View->Sort By->Threaded...
Yes, that's a bug. I have just now fixed it, and the fix will be in the next release (0.14).Hooonza wrote:...the only solution now: to delete the setting for extension.mailtweak.personal.csv.to"...
Rod
-
- Posts: 15
- Joined: October 29th, 2004, 2:15 pm
2 questions
I recently stumbled on Mail Tweak, which for some reason I had not seen before. All I can say is "Wow!" An amazing array of really useful goodies. The ability to lock the column sorting alone is well worth the price of admission. Thank you, Rod!
Two things it seems like I might be able to change with the help of Mail Tweak:
1) I would like for reply text in incoming messages always to get marked with greater-than signs, in good ol' text e-mail style. I know how to get rid of the annoying vertical bar as a reply marker by changing the blockquote[type=cite] class in userContent.css, but is it possible to get the greater-than signs?
2) Is it possible to change the color of a folder *only* if that folder contains messages?
One idea for a future release: I love being able to access all the Add-On options right from the Options dialog...the only thing that would make this better for me would be to just make the Add-On manager a panel in the Options dialog. I've never been able to figure out why it's separate, anyway.
Thanks for a fabulous extension.
Two things it seems like I might be able to change with the help of Mail Tweak:
1) I would like for reply text in incoming messages always to get marked with greater-than signs, in good ol' text e-mail style. I know how to get rid of the annoying vertical bar as a reply marker by changing the blockquote[type=cite] class in userContent.css, but is it possible to get the greater-than signs?
2) Is it possible to change the color of a folder *only* if that folder contains messages?
One idea for a future release: I love being able to access all the Add-On options right from the Options dialog...the only thing that would make this better for me would be to just make the Add-On manager a panel in the Options dialog. I've never been able to figure out why it's separate, anyway.
Thanks for a fabulous extension.
- Rod Whiteley
- Posts: 11480
- Joined: December 6th, 2004, 3:41 am
- Location: UK
1) Not in HTML. There is a way to fake it, but it is hard work, and the result is not perfect. You create an image of a greater-than sign, and use CSS to specify it as the background of the blockquote, repeating down the left-hand edge: The problems are that the image only matches one font size, and it does not always line up with the lines of text.
2) No. The underlying C++ code does not supply that information, so it cannot be made available to the CSS.
3) Yes, that does make sense. Technically, the data behind the Options dialog is all stored in one way, while the data behind the Add-ons dialog is all stored in a different way, but there is no reason for that technical distinction to be exposed to the user.
Thank you for sharing these ideas, and for your kind remarks.
Code: Select all
blockquote[type=cite] {
border: none !important;
padding: 0 0 0 1em !important;
background: url(gt.png) repeat-y;
}
2) No. The underlying C++ code does not supply that information, so it cannot be made available to the CSS.
3) Yes, that does make sense. Technically, the data behind the Options dialog is all stored in one way, while the data behind the Add-ons dialog is all stored in a different way, but there is no reason for that technical distinction to be exposed to the user.
Thank you for sharing these ideas, and for your kind remarks.
Rod
-
- Posts: 15
- Joined: October 29th, 2004, 2:15 pm
I love being able set BCC rather than To: by default (now if Mail Tweak would just set everyone ELSE's mailers to default to BCC!). But I noticed that this does not work if an address or group of addresses is selected from the address book or contacts window--they all get To: as usual. Is this something that could be done in a future release?
Thanks!
Thanks!
- Rod Whiteley
- Posts: 11480
- Joined: December 6th, 2004, 3:41 am
- Location: UK