I am working on a mail retrieval project in php. The code uses the imap group of functions to retrieve message numbers and message uids.
The imap_ functions return message_no 1 for message_uid 1, no 2 for uid 2...
If I look at my messages using my mail server, the message uid is a long randomized number.
Question 1:
Does the imap_uid function return its own series of uids different from the uids in my mail server?
Whatever... I have successfully brought out the links for each of my messages in the inbox on the web page. But when I click the lind to the message the program returns "Invalid Message UID". I checked the value of message uid upon clicking the link and it is 0 although the href associated with the anchor includes the uid of the message referred to as
...&msg_uid=$this->msg_uid...
Question 2:
Is there a better way to remember the msg uid upon clicking the link?
I read on the web that certain imap_functions dont work with pop3 servers....can someone shed light?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am working on a mail retrieval project in php. The code uses the imap group of functions to retrieve message numbers and message uids.
The imap_ functions return message_no 1 for message_uid 1, no 2 for uid 2...
If I look at my messages using my mail server, the message uid is a long randomized number.
Question 1:
Does the imap_uid function return its own series of uids different from the uids in my mail server?
Whatever... I have successfully brought out the links for each of my messages in the inbox on the web page. But when I click the lind to the message the program returns "Invalid Message UID". I checked the value of message uid upon clicking the link and it is 0 although the href associated with the anchor includes the uid of the message referred to as
...&msg_uid=$this->msg_uid...
Question 2:
Is there a better way to remember the msg uid upon clicking the link?
I read on the web that certain imap_functions dont work with pop3 servers....can someone shed light?
Thanks