surion Posted April 18, 2007 Share Posted April 18, 2007 hi few months ago i wrote a mailclient, works perfect, and i have quiet alot of users, but now i have the next problem: some users don't seem to have a standard "Trash" folder, so they can't move mails to Trash if they don't have any, you could say "just make a trash on the server", but thats not what i want, i have over 3500 users by now, if i have to check for each of them if they have a trash or not,.... so what i want to do is make that Trash folder in their mailbox, using an imap function its easy to detect in php if they have a Trash or not, that part i do have already, but what function (IMAP) do i need to use to CREATE the folder? Link to comment https://forums.phpfreaks.com/topic/47531-solved-make-folder-in-mailbox-using-imap-functions/ Share on other sites More sharing options...
surion Posted April 18, 2007 Author Share Posted April 18, 2007 nobody? Link to comment https://forums.phpfreaks.com/topic/47531-solved-make-folder-in-mailbox-using-imap-functions/#findComment-232093 Share on other sites More sharing options...
Glyde Posted April 18, 2007 Share Posted April 18, 2007 Is this what you're looking for? http://us.php.net/manual/en/function.imap-createmailbox.php Link to comment https://forums.phpfreaks.com/topic/47531-solved-make-folder-in-mailbox-using-imap-functions/#findComment-232114 Share on other sites More sharing options...
surion Posted April 19, 2007 Author Share Posted April 19, 2007 wooooow, thx man, thats what i was looking for, dunno how i could look over it, i was searching that function index for something like makemailbox, or setmailbox orso, never tought about "create..." you make my day Link to comment https://forums.phpfreaks.com/topic/47531-solved-make-folder-in-mailbox-using-imap-functions/#findComment-232962 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.