PHP Classes

Getting the body of a message

Recommend this page to a friend!

      POP3 e-mail client  >  POP3 e-mail client package blog  >  How Can PHP Read Emai...  >  All threads  >  Getting the body of a message  >  (Un) Subscribe thread alerts  
Subject:Getting the body of a message
Summary:how to to get the body of a message
Messages:2
Author:James Crawford
Date:2014-08-23 11:07:51
 

  1. Getting the body of a message   Reply   Report abuse  
Picture of James Crawford James Crawford - 2014-08-23 11:07:52
I have got the class working and I can grab as many emails as I want and find a specific email message within a given list, but im trying to see how the body of the email is parsed?

looking at some of the examples on how to read and grab parts of the message but in the var dumps the body is not there? is there a reason for this?

How can I extract the body from the message?

Jim C

  2. Re: Getting the body of a message   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-08-23 22:15:35 - In reply to message 1 from James Crawford
If you are using the RetrieveMessage function, the $lines parameters takes the number of lines to get of the message body. Pass -1 to get the whole message.