[OGo-Developer] mail folders references

Adam Tauno Williams developer@opengroupware.org
Tue, 01 May 2007 08:52:48 -0400


--=-7hvsj/qupZu87THtkLch
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

>>>> 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=20
> spool. In my case: INBOX/Junk or INBOX/mYfUnnYfOldEr. INBOX point to the=20
> users root and  contains my inbox...

I think in IMAP world, inbox is always "INBOX" (literally) regardless of
with what name it is presented to the user.

> DirectAction code is in Common/BaseUI/WODirectAction+Mails.m.
> I think that if one misspell the folder name, it defaults to the inbox.=20

Reasonable.

> "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=20
> handle any user folder...

Could be really slow if done unnecessarily though.  Keep in mind sites
that have thousands (or more) folders.  I've met a couple Cyrus
installations where the number of shared folders is stunning.

--=-7hvsj/qupZu87THtkLch
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBGNzggLRePpNle04MRAn7aAJ9OI/0feUgVdmbjqrzvRNWTVMIPCACggYqb
92JNHwNVJ/N8YjEmE7/dBIE=
=EVEn
-----END PGP SIGNATURE-----

--=-7hvsj/qupZu87THtkLch--