A lot of code optimization with regard to deleting and creating folders.
[squirrelmail.git] / src / folders_create.php
1 <?
2 include("../config/config.php");
3 include("../functions/strings.php");
4 include("../functions/page_header.php");
5 include("../functions/imap.php");
6
7 $imapConnection = loginToImapServer($username, $key, $imapServerAddress);
8 fputs($imapConnection, "1 create \"$subfolder.$folder_name\"\n");
9 fputs($imapConnection, "1 logout\n");
10
11 echo "<BR><BR><A HREF=\"folders.php\">Return</A>";
12 ?>
13
14