I
I
Igor Balyas2014-08-26 22:20:16
PHP
Igor Balyas, 2014-08-26 22:20:16

How to properly delete imap php emails?

Good afternoon, the task is this, you need to do an imap search by message_id, not because it gives the mail service that received, but the one that sent, for example: .
Question 2.
Will there be an offset when deleting emails? There is such a problem when I delete a letter, its position shifts, if there were 3 letters, and I deleted the second one, then 3 will become id 2, if the deletion is at the same time, can this become a bug?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Elena, 2014-08-27
@ihorbalias

Here you can read about how to do a search, but about the second question: offset by id and there will be no bug.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question