note 68673 deleted from function.imap-reopen by betz

From: Date: Tue, 08 Aug 2006 11:07:02 +0000
Subject: note 68673 deleted from function.imap-reopen by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-115642@lists.php.net to get a copy of this message
Note Submitter: ---- How can I change the Mailbox? For example from ("INBOX") to ("INBOX.Sent") Here the code which i tried: <?php $server_string = "{" . $_SESSION['imap_server'] . ":143/imap/notls}"; $mbox = imap_open ($server_string . "INBOX", $_SESSION['imap_user'], $_SESSION['imap_pass']); // I've tried both variations // imap_reopen($mbox, "INBOX.Sent"); imap_reopen($mbox, "Sent"); $headers = imap_headers($mbox); while (list ($key,$val) = each ($headers)) { echo $val."<br>\n"; } ?> So but here i every get just the Headers from the INBOX I hope for some help or a better description Best regards

« previous php.notes (#115642) next »