PHP Classes

A few problems

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  A few problems  >  (Un) Subscribe thread alerts  
Subject:A few problems
Summary:Can't get inline attachments, special characters in body
Messages:14
Author:Michael Delle
Date:2012-08-25 21:58:16
Update:2012-08-28 04:56:08
 
  1 - 10   11 - 14  

  11. Re: A few problems   Reply   Report abuse  
Picture of Michael Delle Michael Delle - 2012-08-27 16:11:55 - In reply to message 1 from Michael Delle
Here is the full email: http://pastebin.com/ByYxGEyg

  12. Re: A few problems   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2012-08-27 21:06:26 - In reply to message 11 from Michael Delle
The related parts in that message also have file names. You can rename them as you wish because it does not affect the message itself. The HTML message part that use those parts uses their content-id value to reference them, so the file name is irrelevant.

  13. Re: A few problems   Reply   Report abuse  
Picture of Michael Delle Michael Delle - 2012-08-28 03:54:05 - In reply to message 11 from Michael Delle
As I said previously I am piping emails to my scripts. Sometimes people send emails to multiple people, one being us, so my script catches it and ends up getting the wrong $results['To'][0]['name'] and $results['To'][0]['address'] values.

Here is an example: http://pastebin.com/b82nmyJF

My script will end up getting the goingunderfilms AT yahoo DOT com information instead of our @daysofthedead.net email.

Any suggestion on how I would get the @daysofthedead.net email address and name?

  14. Re: A few problems   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2012-08-28 04:56:08 - In reply to message 13 from Michael Delle
The class cannot provide that information with guaranteed reliability because messages can be forged.

Anyway, you can try parsing the Received headers for that purpose.

 
  1 - 10   11 - 14