PHP Classes

unable to get address of sender

Recommend this page to a friend!

      POP3 e-mail client  >  All threads  >  unable to get address of sender  >  (Un) Subscribe thread alerts  
Subject:unable to get address of sender
Summary:unable to get address of sender using ['return-path:']
Messages:4
Author:amolv
Date:2011-01-03 13:24:44
Update:2011-01-06 02:23:08
 

  1. unable to get address of sender   Reply   Report abuse  
Picture of amolv amolv - 2011-01-03 13:24:51
Hello sir,
Thank you for your great class,
i am using it to pop mail from my gmail inbox and save it in database according to email addresses.
I am getting subject, date, message body, i got the name of sender there to but i want email address of the same.

e.g. peter<[email protected]>
here i am getting the name only,but i want to fetch [email protected]

Thank you.


  2. Re: unable to get address of sender   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2011-01-03 16:08:36 - In reply to message 1 from amolv
If you are displaying the address in a Web page, keep in mind that > and < characters need to be escaped so the browse does not process what is inside those characters as if it was an HTML tag. Use HtmlSpecialChars() function to escape the whole e-mail address header when you display it in a Web page.

  3. Re: unable to get address of sender   Reply   Report abuse  
Picture of amolv amolv - 2011-01-04 05:37:54 - In reply to message 2 from Manuel Lemos
Hello sir,
thanks for your valuable help.It's working great.
Now i want to store all this information into my database.
also want to separate the subject,message so that i can fetch them from database.
so is there any easy way to do this or is there any built in class to do this.


  4. Re: unable to get address of sender   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2011-01-06 02:23:08 - In reply to message 3 from amolv
Not that I know. I think it is better that you do it yourself the way you need, it should be simple.