MozillaZine

getTotalMessage

Talk about add-ons and extension development.
nickhere
 
Posts: 27
Joined: September 29th, 2009, 1:57 pm

Post Posted October 31st, 2018, 1:12 pm

I found out i can use getTotalMessage(0) to get total msg in a folder.
for the most part it get the total msg.

I am finding out when it report the wrong msg size.
it report a 0 and then the i click on the folder it start populating with the right amount of msg

I think what i need is to repair mailbox or select folder
to repopulate the msg base.

How do i do this?

DanRaisch
Moderator

User avatar
 
Posts: 120453
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted October 31st, 2018, 2:56 pm

Right click on the name of the folder and select "Properties" from the context menu, then click on "Repair folder".

nickhere
 
Posts: 27
Joined: September 29th, 2009, 1:57 pm

Post Posted October 31st, 2018, 3:34 pm

Duh This a web extension development forum I need to do this in a script

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 3 guests