I need to add a new line in email header. It would be great if I can do this
from javascript, but if it's impossible I can use c++ too.
Also, the line I want to add is something that is unique for the email, so
will change from mail to mail.
Tnx
--
Best Regards,
Andrei Stanciu
- David
Tnx
--
Best Regards,
Andrei Stanciu
"David Bienvenu" <bien...@mozilla.com> wrote in message
news:--KdnbmPj4OgRlzb...@mozilla.org...
But why do you want to do this, instead of just adding a property to the
msg hdr in the .msf file? Does this new header really need to be in the
mailbox file itself?
- David
I developed a software that makes incremental backup to e-mails. So I have
an external application
that communicates with my Thunderbied extension and ask for a e-mail to be
exported, imported, etc.
The incremental part is that if i make a backup first time, the second time
I will get only the new emails.
To do that I make a unique signature on the parts of the e-mail everytime I
need to get the new emails.
Now, my purpose is to make this signature once and save it in the e-mail
header, so it can survive to
export / import. From JS I saw that I cannot get the fileStream and there
was a comment there that it's
deprecated and should not be used.
--
Best Regards,
Andrei Stanciu
"David Bienvenu" <bien...@nventure.com> wrote in message
news:WeGdnRC9m84cGV7b...@mozilla.org...
For restoring, you can set a property on the mesage hdr after you
restore the message.
Rewriting anything onto the message itself is going to be problematic
for local messages, since you need to either rewrite the whole folder,
or make a copy of the message and put it at the end of the mailbox, and
its worse for imap messages.
- David