b40316f9 |
1 | <? |
2 | include("../config/config.php"); |
3 | include("../functions/strings.php"); |
4 | include("../functions/page_header.php"); |
5 | include("../functions/imap.php"); |
6 | |
2aa12d5e |
7 | $imapConnection = loginToImapServer($username, $key, $imapServerAddress); |
b40316f9 |
8 | |
9 | if ($subfolder == "INBOX") |
10 | fputs($imapConnection, "1 create \"user.$username.$folder_name\"\n"); |
11 | else |
12 | fputs($imapConnection, "1 create \"user.$username.$subfolder.$folder_name\"\n"); |
13 | |
14 | fputs($imapConnection, "1 logout\n"); |
15 | |
16 | echo "<BR><BR><A HREF=\"folders.php\">Return</A>"; |
17 | ?> |
18 | |
19 | |