php imap headesr message_id to FT_UID or in_reply_to to FT_UID
Question
Is there any way that I can find message FT_UID if I have raw message_id
(bfd14a45-88ef-4404-b7fd-dbbf8ec8241b@domain.com)
?
Or in_reply_to raw id(20120717101453.4074313004BD@zumance.pregmatch.org) to FT_UID?
Or is there any way that I can pipe somehow messages trough procmail and track this things.
Solution
Try imap_uid function that return the UID number of message
int imap_uid ( resource $imap_stream , int $msg_number )
Here, $imap_stream is return by imap_open
for about more, follow this link http://php.net/manual/en/function.imap-uid.php
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow