[OGo-Developer] mail folders references
Olivier Hallot
developer@opengroupware.org
Tue, 01 May 2007 08:38:22 -0300
Adam Tauno Williams escreveu:
>> Adam, first, thanks a lot for committing bug 1732/4/5
>>
>
> No problem.
>
>
>> Adam Tauno Williams escreveu:
>>
>>>> In the file BaseUI/LSWSkyriFrame.wod of the Default theme, the inbox
>>>> folder is invoked thru this webobject:
>>>>
>>>> InboxLink: WOHyperlink {
>>>> directActionName = "mail";
>>>> ?folder = "inbox";
>>>> CLASS = "skydockfont";
>>>> }
>>>> How can I go directly to the "Sent" folder?
>>>>
>>> Have you tried "inbox.Sent" or "inbox/Sent", just for kicks?
>>>
>> yes... No luck...
>>
>
> Hrmm...
>
Found it...
One has to spell the folder exactly (case sensitive) as in users imap
spool. In my case: INBOX/Junk or INBOX/mYfUnnYfOldEr. INBOX point to the
users root and contains my inbox...
DirectAction code is in Common/BaseUI/WODirectAction+Mails.m.
I think that if one misspell the folder name, it defaults to the inbox.
"trash", "sent" and "drafts" are handled by
_activateMailFolder:(NSString *)folderName
but i think they must be in the same level as INBOX...
It will be nice if mail DirectAction could read the folder hierarchy and
handle any user folder...
Olivier