Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IMAP - difference between msgno and uid?

Tags:

php

imap

What is the difference between msgno and uid? It looks like they always are the same even if msgs are deleted!?

like image 664
clarkk Avatar asked Feb 16 '26 23:02

clarkk


1 Answers

As it says on http://www.php.net/manual/en/function.imap-uid.php:

This function returns the UID for the given message sequence number. An UID is a unique identifier that will not change over time while a message sequence number may change whenever the content of the mailbox changes.

like image 145
mobius Avatar answered Feb 18 '26 11:02

mobius



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!