PHP Classes

pop3mail

Recommend this page to a friend!

      POP3 e-mail client  >  POP3 e-mail client package blog  >  How Can PHP Read Emai...  >  All threads  >  pop3mail  >  (Un) Subscribe thread alerts  
Subject:pop3mail
Summary:how to get header list
Messages:2
Author:amolv
Date:2010-12-21 09:36:24
Update:2010-12-21 19:43:16
 

  1. pop3mail   Reply   Report abuse  
Picture of amolv amolv - 2010-12-21 09:36:24
hi,
i wanted to first check the email address in header i.e. the email address where i am getting mail... then go ahead to break that mail further...

  2. Re: pop3mail   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2010-12-21 19:43:16 - In reply to message 1 from amolv
When you call the RetrieveMessage function you can pass the number of lines of the message you want in the 4th parameter. If you specify -1, it will get the whole message. If you specify 0, it will not get any message body lines, only the header lines.