note 125687 added to function.imap-fetch-overview
| From: | damien at dipisoft dot com | Date: | Sun, 17 Jan 2021 00:06:22 +0000 |
| Subject: | note 125687 added to function.imap-fetch-overview | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216169@lists.php.net to get a copy of this message | ||
This is not documented but I just found out that with the FT_UID flag you can use "-1" in
sequence as the last identifier. Example:
<?php
[...]
$result = imap_fetch_overview($mbox, "$first_uid:-1", FT_UID);
[...]
?>
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.159.166 (proxied: 176.143.19.14)
----
Manual Page -- http://php.net/manual/en/function.imap-fetch-overview.php
Edit -- https://master.php.net/note/edit/125687
Del: integrated -- https://master.php.net/note/delete/125687/integrated
Del: useless -- https://master.php.net/note/delete/125687/useless
Del: bad code -- https://master.php.net/note/delete/125687/bad+code
Del: spam -- https://master.php.net/note/delete/125687/spam
Del: non-english -- https://master.php.net/note/delete/125687/non-english
Del: in docs -- https://master.php.net/note/delete/125687/in+docs
Del: other reasons-- https://master.php.net/note/delete/125687
Reject -- https://master.php.net/note/reject/125687
Search -- https://master.php.net/manage/user-notes.php