note 115465 added to function.imap-uid
| From: | Nathan | Date: | Tue, 29 Jul 2014 03:24:16 +0000 |
| Subject: | note 115465 added to function.imap-uid | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-200066@lists.php.net to get a copy of this message | ||
imap_expunge($mbox) = does not change the UID of a message (UID is unique and stays unique)
imap_expunge($mbox) = changes the $msg_number (the message number is like a running ID for all
messages in the mailbox - it gets reassigned everytime the stream is open)
Example
Before expunge
UID = 752
msg_nr = 720
UID = 751
msg_nr = 719
imap_delete($mbox, 719);
imap_expunge($mbox);
imap_close($mbox);
imap_open..
After expunge
UID = 752
msg_nr = 719
----
Server IP: 72.52.91.14
Probable Submitter: 207.126.93.15
----
Manual Page -- http://php.net/manual/en/function.imap-uid.php
Edit -- https://master.php.net/note/edit/115465
Del: integrated -- https://master.php.net/note/delete/115465/integrated
Del: useless -- https://master.php.net/note/delete/115465/useless
Del: bad code -- https://master.php.net/note/delete/115465/bad+code
Del: spam -- https://master.php.net/note/delete/115465/spam
Del: non-english -- https://master.php.net/note/delete/115465/non-english
Del: in docs -- https://master.php.net/note/delete/115465/in+docs
Del: other reasons-- https://master.php.net/note/delete/115465
Reject -- https://master.php.net/note/reject/115465
Search -- https://master.php.net/manage/user-notes.php