MozillaZine

I could create a subfolder but if i try to delete it

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

Post Posted December 6th, 2018, 11:32 am

it causes a exception
from 2=@100pureessentialoils.com
//account.incomingServer.rootFolder.createSubfolder(from2, msgWindow);
account.incomingServer.rootFolder.deleteSubFolders(from2, msgWindow);
/*
Exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIMsgFolder.deleteSubFolders]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: Scratchpad/1 :: <TOP_LEVEL> :: line 20" data: no]
*/

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 1 guest