Access email with Message-ID

Recommend this page to a friend!

      POP3 e-mail client  >  POP3 e-mail client package blog  >  How Can PHP Read Emai...  >  All threads  >  Access email with Message-ID  >  (Un) Subscribe thread alerts  
Subject:Access email with Message-ID
Summary:header Message-ID specific email
Messages:2
Author:jay
Date:2015-10-28 12:51:04
 

 


  1. Access email with Message-ID   Reply   Report abuse  
Picture of jay jay - 2015-10-28 12:51:04
I want to access a specific email that matched with a Message-ID in header.How to do that?

Thanks in advance

  2. Re: Access email with Message-ID   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2015-10-28 19:40:03 - In reply to message 1 from jay
What you can do is to traverse all messages and just request to retrieve the headers of each message using the RetrieveMessage but passing 0 as the 4th parameter, which is the number of body lines.

 

For more information send a message to info at phpclasses dot org.