You are not logged in.
Pages: 1
Hi there.
First let me thank Denis for ReNamer. Its a wonderful program.
I receive many work related emails and I need to save them to my computer. To keep them organized I rename them using ReNamer.
I have two questions.
1 - I use the meta tag :Email_Sender: Is there a meta tag to do the same but for the to field? Something like :Email_Destination:
2 - I'm portuguese so my character set as accents. When I use :Email Subject: I get some invalid file name because the email subject has some accents.
Here is an example.
My insert rule is only Insert :Email Subject: as Prefix
My original file as as subject this name: Técnicas de mesa.eml
After I press preview I got an warning "Warning, found one invalid filename(s)!" and the new name is shown as =?ISO-8859-1?Q?Resposta_ao_pedido_de_formador=2Fa_=2D_T=E9cnicas_de_mesa?=.eml
Since I know that the problem is the character é I've made a new rule below the rule mentioned above that replaces é by e but that didn't solve it.
Is there any way to solve this?
Regards,
kodiak
Offline
Well, the problem are not the accents, but the "?".
These characters are invalid on windows file names.
\/:*?"<>|
Last edited by SafetyCar (2011-08-19 08:08)
If this software has helped you, consider getting your pro version. :)
Offline
Hi SafetyCar.
Thanks for your answer. I know that those are windows reserved characters but that only append wen the program gets the email metadata and if there is an accent character I puts those things.
Lets say I have a a filename called the sky is grey.eml. Since this is an email type there is meta data like Subject. On that email, the subject is Isto é um teste. Wen using the rule that I've stated above, wen ReNamer goes to get the subject meta data if finds that é and only then he puts in the beginning of the new file ?ISO-8859-1?Q? and are these characters how are responsible for the warning. On the other and, if the subject is Isto e um teste (without accent) It renames the file properly for Isto e um teste.eml.
So I believe that this is caused because the character set used in my email meta tag is Western (ISO-8859-1) and ReNamer can't handle this.
Am I right?
kodiak
Offline
ReNamer extract the subject line without doing any manipulations to it. The =?ISO-8859-1?Q?...?= is the MIME encoded text defined by RFC 2047 - MIME. When subject line in your email contains only US-ASCII characters, there is no need to encode the subject line so you see plain subject text. On the other hand, subject line with é in it requires MIME encoding.
There is no easy way to decode MIME encoded text as this functionality is not available in ReNamer. It could be implemented in the form of PascalScript rule, but I wouldn't have time to do this.
Offline
Thanks den4b
kodiak
Offline
Pages: 1