Re: MailUtils.getExistingFolder fails for custom folder in TB V68
On 18 Oct 2019 14:34, bharath kumar wrote:
> As perhttps://wiki.mozilla.org/Thunderbird/Add-ons_Guide_63, we have renamed MailUtils.getFolderForUri to MailUtils.getExistingFolder.
> However, this API does not work for the custom folder.
> If the URI ismailbox://msk2%[hidden email]/Inbox, then it works.
> But, if URI ismailbox://msk2%[hidden email]/Custom folder, then it does not work. It returns null.
The mailbox: URIs you're presenting there are the "short form", usually
mailbox: URIs are more like a file: URI addressing the folder file. That
said, is there a space encoding issue? Should you be looking for