note 42606 added to function.imap-fetchstructure
| From: | rubisz at br-webdesign dot net | Date: | Sun, 23 May 2004 09:13:21 +0000 |
| Subject: | note 42606 added to function.imap-fetchstructure | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-69983@lists.php.net to get a copy of this message | ||
No one at this forum said that this function does not run when i'm connecting via 143 IMAP
port, it does only with POP3. Why is it so? or maybe I've done somethin wrong? please check:
$mbox = "{my.mail.server:143}INBOX";
$imap = imap_open($mbox, $login, $pass);
//till now it's ok
$structure = imap_fetchstructure($imap, 1);
print $struktura->subject;
print "<BR>";
print $struktura->bytes;
/*
nothing happens, but when the
$mbox = "{my.mail.server:110/POP3}INBOX";
I get
Subject of a message
12411
*/
Is there any other way to check the emails structure with IMAP connection?
----
Manual Page -- http://www.php.net/manual/en/function.imap-fetchstructure.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42606
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42606&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42606&report=yes
Search -- http://master.php.net/manage/user-notes.php