Search code examples
phpimapprocmail

php imap headesr message_id to FT_UID or in_reply_to to FT_UID


Is there any way that I can find message FT_UID if I have raw message_id

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