I use standard imap functions to grab mails, I need to keep track of the Message-ID (and References and In-Reply-To) to build threads. I reply to messages through the smtp, keeping the old subject, but in my web interface is not group them with others. If I add a In-Reply-To header - everything is OK.
The problem is that I can't get values of Message-ID, References, In-Reply-To (but in web interface they are present). I've tried different functions (imap_headerinfo, imap_fetchheader, imap_fetch_overview), but all of this values are empty.
Please help!
imap_headerinfo()
,imap_fetchheader()
etc, as these functions are what you should use and should provide the information you want. – CatherincatherinaMessage-ID
) to make replying to an email via an IMAP server easy. – Dekow