You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Alagan Sathianathan <AS...@ifmc.sdps.org> on 2004/04/05 18:03:52 UTC
How to create a folder in james
I am using the following code to create new folder. But no folder is created...
////////////
Folder backupFolder = store.getFolder("BACKUP");
if (!backupFolder.exists()) {
backupFolder.create(Folder.HOLDS_FOLDERS);
}
////////////
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE: How to create a folder in james
Posted by "Noel J. Bergman" <no...@devtech.com>.
> I am using the following code to create new folder. But no
> folder is created...
> Folder backupFolder = store.getFolder("BACKUP");
> if (!backupFolder.exists()) {
> backupFolder.create(Folder.HOLDS_FOLDERS);
> }
James doesn't use JavaMail for local repositories.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org