Posted By:
Narayan_Joshi
Posted On:
Friday, September 27, 2002 05:44 AM
Currently, i have a red hat linux having IMAP4 server. User's incoming mails are stored in his INBOX i.e. /var/spool/mail/user1. Each user has his home directory called /home/user1.when we use folder.create(HOLDS_MESSAGES) , javamail creates a folder in /home/user1 ( that i have checked .) Now what i want is the folder.create() method should create create a folder in /home/user1/myMailFolders. i.e if i create a folder named yahoo_mails and rediff_mails and hotmail_mails, then the directory structure should be /home/user1/myMailFolders/yahoo_mails /home/user1/myMailFolders/rediff_mails /home/user1/myMailFolders/hotmail_mails NOW, U PLEASE HELP ME ,THAT HOW
More>>
Currently, i have a red hat linux having IMAP4 server. User's incoming mails are stored in his INBOX i.e. /var/spool/mail/user1.
Each user has his home directory called /home/user1.when we use folder.create(HOLDS_MESSAGES) , javamail creates a folder in /home/user1 ( that i have checked .)
Now what i want is the folder.create() method should create create a folder
in /home/user1/myMailFolders. i.e if i create a folder named yahoo_mails and rediff_mails and hotmail_mails, then the directory structure should be
/home/user1/myMailFolders/yahoo_mails
/home/user1/myMailFolders/rediff_mails
/home/user1/myMailFolders/hotmail_mails
NOW, U PLEASE HELP ME ,THAT HOW TO ACHIEVE THIS WITH HELP OF FOLDER.CREATE() METHOD.
thank you.
<<Less