E-mail replies (imap/pop3)

Asked

Viewed 63 times

1

I have a problem in a project where I manage the e-mail.

Idea: List emails. When entering an email, list all replies to the email

Problem: To find out if an email is an answer from another email I am using the "References" field that comes from the "imap_headerinfo" function. This works in many cases. The big problem is when the "message_id" field comes empty. This makes the value coming from the "References" field: "[email protected] [email protected] [email protected] [email protected]" It returns in the middle a blank space. This way I can’t know which email belongs there.

There is another way to know that the email is reply from another email?

  • Paste a piece of your code for us to see.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.