Hi guys, can anyone help me with JavaMail.
I am playing with the folders:

1) if i try and list all folders using .getDefaultFolder().list() and then
try to get a message count for the first folder in the list i get this
error:

A3 NO STATUS failed: Can't open public_html: not a selectable mailbox;
nested exception is: com.sun.mail.iap.CommandFailedException: A3 NO STATUS
failed: Can't open public_html: not a selectable mailbox

this folder is called public_html, so i am guessing that it is something put
there by my isp, as this is also the root folder of our website, how can i
test for this error beforehand to stop it. the only solution i have found is
to start at the second folder

folderCount = ArrayLen(folderList);
    for (i = s; i LTE folderCount; i = i + 1) {...

but i don't see this as being an all-round fix.

2) once i connected outlook to the server it made 3 more folders,

Sent Items
Drafts
.mailboxlist (<- which contains 1 non standard message)

is this .mailboxlist a standard folder that i should hide from the user?

TIA

Ricardo.



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to