|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-02-12 17:20 UTC] yvan+php at redcell dot ca
Description: ------------ --- From manual page: http://www.php.net/function.imap-fetch-overview --- Please add a note to this page that using a sequence outside the range of existing messages, or more importantly, a range of 1:1 when there aren't any messages, will result in the notice: PHP Notice: Unknown: Sequence out of range (errflg=2) in Unknown on line 0 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 05:00:01 2025 UTC |
A workaround is to check the number of messages before calling imap_fetch_overview: $check = imap_check($mbox); if ($check->Nmsgs == 0) { imap_close($mbox); }