AutoSave ( for TB ) ver 0.0.96 is available

Announce and Discuss the Latest Theme and Extension Releases.
Locked
Old Ausdilecce
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old Ausdilecce »

quatermass wrote:I find that the 'Export selected messages' option does not export anything if the file is in a IMAP folder.
It works in a local folder though.

Is this a bug?


Yes, it is a bug - of sorts..

With IMAP messages, the messages are only local when you specifically choose to download them.. Mostly tho, TB will just fetch the message from the IMAP server each and every time. The extension, however, reads the (local) message file when exporting.. Since there is no local info with IMAP messages, nothing gets saved.. I am working on a solution for IMAP.. I have something working but still have some testing to do..
meszaj
Posts: 16
Joined: June 3rd, 2005, 6:37 am

Post by meszaj »

ausdilecce wrote: Version 0.1.1 is available..

This version should work with all character encodings


Wonderful. Thank you 10000x times. It works!!!

But is till have a weird problem since version 0.1.0.
Automatic saving doesnt work anymore. I have to save messages manually;
via right click-->Export selected Msgs--> Individually

I have pasted my prefs.js in my previous post.

thnx for your effort

best regards,

mes
Old Ausdilecce
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old Ausdilecce »

mezaj,

please turn on debug ( in the extension's options dialog ) and then, when you receive a message, have a look in tools...javascript console for any error messages..

The only thing I can see differently in your prefs and mine is that in mine, I have only single backslashes not doubles...

as in user_pref("autosave.dir0", "D:\!Downloads\Email Arhiv\Prejeto");

not

user_pref("autosave.dir0", "D:\\!Downloads\\Email Arhiv\\Prejeto");

But, that might not mean anything if you are using Linux or a Mac
meszaj
Posts: 16
Joined: June 3rd, 2005, 6:37 am

Post by meszaj »

ausdilecce wrote:as in user_pref("autosave.dir0", "D:\!Downloads\Email Arhiv\Prejeto");

not

user_pref("autosave.dir0", "D:\\!Downloads\\Email Arhiv\\Prejeto");

But, that might not mean anything if you are using Linux or a Mac


i am using windows xp, i have tried to manually remove the double \\ in prefs.js, but when i restart thunderbird they are back.
-----------------------------------------------------------------------------------
Bellow is the copy paste from The Javascript Console, from the tab All. There were no Errors in the Error tab or any other tabs(Warnings, Messagges)

1.AutoSave - getPathToREfile started
2.AutoSave - onItemAdded start
3.AutoSave - onItemAdded, subj >example22< flags>8388609
4.AutoSave - onItemAdded, foldr >Sent< flags >516< view >flatMessageView
5.AutoSave - onItemAdded triggered:
parentItem.URI>mailbox://nobody@Local%20Folders/Sent<
item>example22<
view>flatMessageView<
msgflags>8388609<
6.AutoSave - onItemAdded, checking new message:
messageId>42DCD96F.7090102@guest.arnes.si<
7.AutoSave - autoSaveMsgs, start
8.AutoSave - getPathToREfile started
9.AutoSave - autoSaveMsgs, error in RE e>TypeError: rules has no properties
10.AutoSave - autoSaveMsgs, no rules matched

thats my prefs.js:
--------------------------------------------------------
user_pref("autosave.date_style", "%dd%mm%yyyy");
user_pref("autosave.debug", true);
user_pref("autosave.defaultExt", "eml");
user_pref("autosave.dir0", "D:\\Email\\Prejeto");
user_pref("autosave.dir0en", true);
user_pref("autosave.dir1", "none");
user_pref("autosave.dir1en", false);
user_pref("autosave.dir2", "D:\\Email\\Work");
user_pref("autosave.dir2en", true);
user_pref("autosave.dir3", "none");
user_pref("autosave.dir3en", false);
user_pref("autosave.dir4", "none");
user_pref("autosave.dir4en", false);
user_pref("autosave.dir5", "none");
user_pref("autosave.dir5en", false);
user_pref("autosave.filename_style", "%sndr-%dat-%subj");
user_pref("autosave.filenamesUnique", true);
user_pref("autosave.outgoing_dir", "D:\\Email\\Poslano");
user_pref("autosave.outgoing_filename_style", "%subj");
user_pref("autosave.rulesfilepath", "C:\\Documents and Settings\\Meszaj\\Application Data\\Thunderbird\\Profiles\\yjxmtshh.default\\ASre.txt");
user_pref("autosave.saveWhat", 3);
quatermass
Posts: 83
Joined: February 28th, 2005, 4:26 am
Location: Livingston, Scotland
Contact:

Post by quatermass »

ausdilecce wrote:
quatermass wrote:I find that the 'Export selected messages' option does not export anything if the file is in a IMAP folder.
It works in a local folder though.

Is this a bug?


Yes, it is a bug - of sorts..

With IMAP messages, the messages are only local when you specifically choose to download them.. Mostly tho, TB will just fetch the message from the IMAP server each and every time. The extension, however, reads the (local) message file when exporting.. Since there is no local info with IMAP messages, nothing gets saved.. I am working on a solution for IMAP.. I have something working but still have some testing to do..



I can't get import to work either either... :-)

I've made a eml of 2 emails via Thunderbird and your extension doesn't import them to a local folder.

Any clues I can follow up to get it to work?


Update:

I found out how to run the debug in Autosave and in the Javascript comsole I'm getting:

AutoSave - importEML, start

then

Error: DAglobals is not defined
Source File: chrome://autosave/content/autosave.js
Line: 714

You previous posting takes about editing something called User pref, what is this?
Your AutoSave extension Help file doesn't make a mention of this.

Is it the user.js file?
If so what am I expected to put in there?
Old Ausdilecce
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old Ausdilecce »

:oops:

Thanks for debugging that ... There was a typo in the code.. Please go and download the fixed version.. ( 0.1.2 ) from

get it from from www.supportware.net/mozilla/AutoSave_0.1.2.xpi

This version should fix BOTH your autosave issue and your import issue..
quatermass
Posts: 83
Joined: February 28th, 2005, 4:26 am
Location: Livingston, Scotland
Contact:

Post by quatermass »

ausdilecce wrote::oops:

Thanks for debugging that ... There was a typo in the code.. Please go and download the fixed version.. ( 0.1.2 ) from

get it from from www.supportware.net/mozilla/AutoSave_0.1.2.xpi

This version should fix BOTH your autosave issue and your import issue..


Yes this version does appear to work. Many thanks.
I can double click on a .eml file and it goes into my imap folder or use the import menu option and it will go into my local folder.

P.S.
I notice that if my .eml file is missing the 'From ' line at the start of each email in the .eml file that Autosave gets the first email. But then appends the rest of the emails at the end of the first once its imported.

Is this a bug or is the 'From ' line required to indicate end of an email?
I ask because my old email program exports its emails without a from line as standard at the start of each email in the .eml file.

I realise mbox isn't really standard and there are many different versions.
meszaj
Posts: 16
Joined: June 3rd, 2005, 6:37 am

Post by meszaj »

Yeah, this version works fine as far as i can see.

It also works with the new Thunderbird 1.0.6.
If any bugs occur i will report.



Thanx for fast response and your effort on developing such a great extension.
meszaj
Posts: 16
Joined: June 3rd, 2005, 6:37 am

Post by meszaj »

Hello!

I have found a small bug.
I hope you dont think that i am only a "permanent complainer".
I love this autosave extension and so i am testing it a lot.
Because i want to help you and you help us, with this extension.

I have found out that some users are just leaving an extreme long subject in emails
which is produced when sending emails from some programs.
Example:

the subject might look like this:
Subject: E-postno posiljanje Elizabeta Wellnes JPG 7, Elizabeta Wellnes JPG 8, Elizabeta Wellnes JPG 9, Elizabeta Wellnes JPG 3, Elizabeta Wellnes JPG 4, Elizabeta Wellnes JPG 5, Elizabeta Wellnes JPG 61982 - 1990 Chairman of the Young Industry Austriaadfwwwwwwwwwwwwwsgtfdsagfdhggcjhdgujdgjkrdtadfgfyxcghdafshgtfwwwwwwwwwwwwwwwwwwwwwwwwwwwqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiippppppppppppppppppppppppppppppppppppppp

Thunderbird accpets such emails, but autosave fails them to save if your filename is composed from such a long subject.
I think this is because there are too many characters to save the file to .eml.
You could write the extension so that it trims such messages to a normal(smaller) filename.


Thnx,

meszaj
Old Ausdilecce
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old Ausdilecce »

meszaj,

test all you like mate..

K, it looks like the filename can only be XX number of characters..
Obviously, the extension needs a way to limit the number of characters to use..
But the filename is 'built' from a variety of options. The problem now is what do I limit..
If the extension trims the filename *after* it is built, the possibility exists where the extension could trim off vaulable info.
If the extension trims the components that the filename is built from, then we will not lose info - but this is much harder to accomplish..

Let me have a look to see what can be done..
meszaj
Posts: 16
Joined: June 3rd, 2005, 6:37 am

Post by meszaj »

ok.good luck
asdzxc
Posts: 16
Joined: July 20th, 2005, 3:24 am

Help Needed to Autosave messages to Different Folders ??

Post by asdzxc »

Ausdilecce & others,

How do I make Autosave save messages from
Different Email Accounts to Different Sent/Inbox Folders ?

ie.
Thunderbird

-Account 1
- Saves to C:\Acccount 1\Sent\
- Saves to C:\Acccount 1\Inbox\

-Account 2
- Saves to C:\Acccount 2\Sent\
- Saves to C:\Acccount 2\Inbox\


... as the 'Extensions->Options->Save to Directory'

ONLY allows me to SAVE ALL outgoing/incoming MESSAGES from ALL Email Accounts
to the ONE Folder !!


I don't fully understand what I am supposed to Edit in
'ASre.txt' to achieve what I described above ?


Plz Help !!


thnx
Last edited by asdzxc on July 24th, 2005, 7:33 pm, edited 2 times in total.
quatermass
Posts: 83
Joined: February 28th, 2005, 4:26 am
Location: Livingston, Scotland
Contact:

Post by quatermass »

Autosave 0.1.2 doesn't appear to work with Thunderbird 1.0.6
:-(
Stuart Halliday
quatermass
Posts: 83
Joined: February 28th, 2005, 4:26 am
Location: Livingston, Scotland
Contact:

Post by quatermass »

quatermass wrote:Autosave 0.1.2 doesn't appear to work with Thunderbird 1.0.6
:-(
Forget that last posting. It was me being stupid! It works!
Stuart Halliday
meszaj
Posts: 16
Joined: June 3rd, 2005, 6:37 am

Post by meszaj »

ausdilecce,

could you make the extension to work so that it wouldnt save emails which are marked
as junk mail by thunderbird?

now it saves junk mail too.

thnx
Locked