MozillaZine

user.js

User Help for Mozilla Thunderbird
dewey40
Guest
 

Post Posted December 12th, 2003, 7:45 pm

I am trying to download messages from multiple accounts on start up of TBird and I have created the user.js file but can't seem to get it in the right folder to make the behavior function. I am new to the open source environment so probably am missing something simple but need some help.
Thanks

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

Post Posted December 12th, 2003, 7:50 pm

Put it in your profile in the same folder as prefs.js and abook.mab. On Windows XP that would be C:\Documents and Settings\user\Application Data(a hidden folder)\Thunderbird\Profiles\default\random number.slt\user.js
One thing about user.js - the grammar must be perfect. If you forget to put a ; at the end of a line or something Thunderbird will stop reading it at the syntax error and give up, so if it doesn't seem to be working, look at every little detail. I find the easiest way to get it right is to copy and paste lines across from prefs.js.

Dewey
 
Posts: 8
Joined: December 12th, 2003, 7:41 pm
Location: Wichita, Kansas, USA

Post Posted December 12th, 2003, 8:09 pm

Thanks so much. Now I am in the right location and have copied the following:

// Download mail from all accounts on startup
user_pref("mail.check_all_imap_folders_for_new", true)

Is this incorrect?

R4F

User avatar
 
Posts: 999
Joined: December 7th, 2003, 12:13 pm
Location: Netherlands

Post Posted December 13th, 2003, 5:46 am

Code: Select all
// Download mail from all accounts on startup
user_pref("mail.check_all_imap_folders_for_new", true);
[size=9:0df8c2550c]Firefox Help | Nederlands
Thunderbird Help | Nederlands[/size:0df8c2550c]

!!!!cdn!

User avatar
 
Posts: 250
Joined: December 7th, 2003, 2:58 pm
Location: Latitude 53ish

Post Posted December 13th, 2003, 5:54 am

As always chromedit is a good way of editing such files, w/o needing to know where they go : )
!!!!cdn!
-- http://extensionroom.mozdev.org/#chromedit -- http://themes.mozdev.org/ --
Mozilla/5.0 (X11; U; Linux i686; en-*; rv:*.*) Gecko/200*mmdd Mozilla Firebird/*.*

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

Post Posted December 13th, 2003, 8:25 am

Dewey wrote:
Code: Select all
// Download mail from all accounts on startup
user_pref("mail.check_all_imap_folders_for_new", true)
R4F wrote:
Code: Select all
// Download mail from all accounts on startup
user_pref("mail.check_all_imap_folders_for_new", true);
Can you see the difference between the two? The computer can. One has a ; at the end and the other doesn't.

Dewey
 
Posts: 8
Joined: December 12th, 2003, 7:41 pm
Location: Wichita, Kansas, USA

Post Posted December 13th, 2003, 9:33 am

This is true, but it doesn't work with or without the ;.

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

Post Posted December 13th, 2003, 11:15 am

What Operating System are you using? If it's Windows, have you set it to show file extensions of known file types? If not, and you've made the file with a text editor it may well be called user.js.txt but Windows will be hiding the .txt so to you it looks like it's called user.js. I don't use imap so I've never set that pref but for me
Code: Select all
user_pref("mail.server.server1.login_at_startup", true);
seems to do the same thing, it checks for new mail when Thunderbird starts. You'll need to put lines for server2,3..however many accounts you have.

!!!!cdn!

User avatar
 
Posts: 250
Joined: December 7th, 2003, 2:58 pm
Location: Latitude 53ish

Post Posted December 13th, 2003, 12:30 pm

again chromedit : ]
!!!!cdn!
-- http://extensionroom.mozdev.org/#chromedit -- http://themes.mozdev.org/ --
Mozilla/5.0 (X11; U; Linux i686; en-*; rv:*.*) Gecko/200*mmdd Mozilla Firebird/*.*

Ă„kiidoll

User avatar
 
Posts: 5473
Joined: August 16th, 2003, 2:03 pm
Location: USA

Post Posted December 14th, 2003, 1:07 pm

Like Persist said:
Code: Select all
user_pref("mail.server.server1.login_at_startup", true);
user_pref("mail.server.server2.login_at_startup", true);
user_pref("mail.server.server3.login_at_startup", true);
user_pref("mail.server.server4.login_at_startup", true);

. o 0 (who needs the instabilty some extensions create) :roll:
I thought chromedit is for userChrome.css/userContent.css :?
Geck0 r0cks
A prisoner of Christ Jesus, by His stripes I was healed

R4F

User avatar
 
Posts: 999
Joined: December 7th, 2003, 12:13 pm
Location: Netherlands

Post Posted December 14th, 2003, 1:36 pm

It does user.js (editable) and prefs.js (read-only) as well.
[size=9:0df8c2550c]Firefox Help | Nederlands
Thunderbird Help | Nederlands[/size:0df8c2550c]

!!!!cdn!

User avatar
 
Posts: 250
Joined: December 7th, 2003, 2:58 pm
Location: Latitude 53ish

Post Posted December 14th, 2003, 1:36 pm

ChromEdit - User File Editor

and it's one of the more stable extensions : P

allows editing of user.js as well as userChrome/userContent

chromedit was the name it was given, when it was a snippet [ http://snippets.mozdev.org/ ]

prefs.js in an up coming version, R4F has a pre-release
Last edited by !!!!cdn! on December 14th, 2003, 1:42 pm, edited 1 time in total.
!!!!cdn!
-- http://extensionroom.mozdev.org/#chromedit -- http://themes.mozdev.org/ --
Mozilla/5.0 (X11; U; Linux i686; en-*; rv:*.*) Gecko/200*mmdd Mozilla Firebird/*.*

R4F

User avatar
 
Posts: 999
Joined: December 7th, 2003, 12:13 pm
Location: Netherlands

Post Posted December 14th, 2003, 1:40 pm

I was here first. +2 means nothing.
[size=9:0df8c2550c]Firefox Help | Nederlands
Thunderbird Help | Nederlands[/size:0df8c2550c]

LupoSol
Guest
 

Post Posted December 29th, 2003, 8:23 pm

Caetck wrote:Like Persist said:
Code: Select all
user_pref("mail.server.server1.login_at_startup", true);
user_pref("mail.server.server2.login_at_startup", true);
user_pref("mail.server.server3.login_at_startup", true);
user_pref("mail.server.server4.login_at_startup", true);

. o 0 (who needs the instabilty some extensions create) :roll:
I thought chromedit is for userChrome.css/userContent.css :?
Geck0 r0cks


I'm sorry but this isn't clear for me.

Say I have two accounts, as follows:

1) pop3 = mail.hostingstudio.net

2) say username is joe.bloggs@hostingstudio.net for account 1 and jack.bloggs@hostingstudio.net for acccount 2

3) say password is blabla1 for account 1 and blabla2 for account 2

What would I have to writwe so that it checks the mail automatically at start up?

Also, can I set TB so that it checks emails on ALL these accounts ( I have 15 email addresses!) every 5 minutes?

Thanks for your help.

Return to Thunderbird Support


Who is online

Users browsing this forum: No registered users and 4 guests