Answer the question
In order to leave comments, you need to log in
How to find email correspondence and display it on the site using imap?
For the second day I can not solve the issue of loading correspondence via imap with a specific email. It turns out to receive all letters, and I try imap_search () to find letters, returns false. Like there are no letters, although they are on email.
Answer the question
In order to leave comments, you need to log in
It would not be bad to show how you use .... In the meantime, such an answer.
On Yandex and other services, most likely a cache on the search, which is not updated so often, so it does not start seeing letters right away. Sometimes it finds it, sometimes it doesn't. Therefore, it is generally better to abandon the imap_search function and search locally.
For example: https://it-wiki.org.ua/php/receiving_incoming_mail_imap
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question