I am currently trying out Release 260 of the SVN. The problem is when a newly created user logs into rc, only inbox is shown (in beta all three folders got created by default). Now when a mail is sent, the Sent folder is created but when I try to delete a mail, it gives an error. Only after creating a folder manually am I able to delete any mail.
Is this behaviour normal? Shouldn't the Trash folder also get created when a mail is to be deleted. Now I am not much familiar with php but afaik, there must be some code that is used in creating the folders that is used in the folders tab of the settings. Where is that code in the rc files and can I use that code to auto create these 3 folders for a new user ( I have a php script that creates a new user, I can put this code there).
Regards, Nipun Jain.
Nipun Jain wrote:
I am currently trying out Release 260 of the SVN. The problem is when a newly created user logs into rc, only inbox is shown (in beta all three folders got created by default). Now when a mail is sent, the Sent folder is created but when I try to delete a mail, it gives an error. Only after creating a folder manually am I able to delete any mail.
Is this behaviour normal? Shouldn't the Trash folder also get created when a mail is to be deleted.
This should be done, yes.
Now I am not much familiar with php but afaik, there must be some code that is used in creating the folders that is used in the folders tab of the settings. Where is that code in the rc files and can I use that code to auto create these 3 folders for a new user ( I have a php script that creates a new user, I can put this code there).
The code for this is in program/include/rcube_imap.inc (http://trac.roundcube.net/trac.cgi/browser/trunk/roundcubemail/program/inclu...) on line 1019. There's a config parameter called 'default_imap_folders' that specifies a list of mailboxes that should automatically be created when needed. This code hasn't changed lately but I have to try it out myself to check if it (still) works.
Regards, Nipun Jain.
Regards, Thomas
Have you tested if the code still works? The default folders are there, but they apart from sent folder (which gets created when a mail is sent) and the inbox (which is created by default), none of the folders get auto created, neither do they show in the folder settings tab. Anyway, I can get folders of my choice to get created when a user logs in for the first time in RC?
Other thing is that I want to auto fill the email field in the identity tab with the userid of the user logged in ($session(user_id), I guess), and then hide the email field in the identities pages (add, edit, save etc). Can you please guide me to the same?
Regards, Nipun Jain.
On 6/15/06, Thomas Bruederli roundcube@gmail.com wrote:
Nipun Jain wrote:
I am currently trying out Release 260 of the SVN. The problem is when a newly created user logs into rc, only inbox is shown (in beta all three folders got created by default). Now when a mail is sent, the Sent folder is created but when I try to delete a mail, it gives an error. Only after creating a folder manually am I able to delete any mail.
Is this behaviour normal? Shouldn't the Trash folder also get created when a mail is to be deleted.
This should be done, yes.
Now I am not much familiar with php but afaik, there must be some code that is used in creating the folders that is used in the folders tab of the settings. Where is that code in the rc files and can I use that code to auto create these 3 folders for a new user ( I have a php script that creates a new user, I can put this code there).
The code for this is in program/include/rcube_imap.inc ( http://trac.roundcube.net/trac.cgi/browser/trunk/roundcubemail/program/inclu... ) on line 1019. There's a config parameter called 'default_imap_folders' that specifies a list of mailboxes that should automatically be created when needed. This code hasn't changed lately but I have to try it out myself to check if it (still) works.
Regards, Nipun Jain.
Regards, Thomas
Hi all. I've the same problem with trash folder.. sent folder it's create normally but when I try to delete a message the trash folder isn't created and the mail disappears from inbox folder.. anyway, checking mails another time makes appearing the deleted message. I never had this problem with previouses releases. Thank you for d help.
Have you tested if the code still works? The default folders are there, but they apart from sent folder (which gets created when a mail is sent) and the inbox (which is created by default), none of the folders get auto created, neither do they show in the folder settings tab. Anyway, I can get folders of my choice to get created when a user logs in for the first time in RC?
Other thing is that I want to auto fill the email field in the identity tab with the userid of the user logged in ($session(user_id), I guess), and then hide the email field in the identities pages (add, edit, save etc). Can you please guide me to the same?
Regards, Nipun Jain.
On 6/15/06, *Thomas Bruederli* <roundcube@gmail.com mailto:roundcube@gmail.com> wrote:
Nipun Jain wrote: > I am currently trying out Release 260 of the SVN. The problem is when a > newly created user logs into rc, only inbox is shown (in beta all three > folders got created by default). Now when a mail is sent, the Sent > folder is created but when I try to delete a mail, it gives an error. > Only after creating a folder manually am I able to delete any mail. > > Is this behaviour normal? Shouldn't the Trash folder also get created > when a mail is to be deleted. This should be done, yes. > Now I am not much familiar with php but afaik, there must be some code > that is used in creating the folders that is used in the folders tab of > the settings. Where is that code in the rc files and can I use that code > to auto create these 3 folders for a new user ( I have a php script that > creates a new user, I can put this code there). The code for this is in program/include/rcube_imap.inc ( http://trac.roundcube.net/trac.cgi/browser/trunk/roundcubemail/program/include/rcube_imap.inc) on line 1019. There's a config parameter called 'default_imap_folders' that specifies a list of mailboxes that should automatically be created when needed. This code hasn't changed lately but I have to try it out myself to check if it (still) works. > > Regards, > Nipun Jain. Regards, Thomas