Hello I need to have a unique mail ID for every email message on php code using imap, not a unique id for the session. does anyone knows how can i retrive that information from the inbox? Thanks Aitanus
Not quite understanding what you are needing. Are you retrieving or sending emails through php and IMAP? Are you using the http://php.net/manual/en/book.imap.php functions?
That depends on the email client you're using. Some show all headers, some don't show the ID. With some you can look at the raw email in the data file or database, with others you can't. Regardless, every email in the world has a unique ID, and every one sent in the future will continue to have a unique ID. No two emails should ever have the same ID. @Rainulf: Each email ever sent has an ID in the headers. It's generated by the SMTP server that sends the email.