gk1 / php-mime-mail-parser

Automatically exported from code.google.com/p/php-mime-mail-parser
0 stars 0 forks source link

Errors when multiple headers with same name. #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. $Parser->getHeader('Received')
2. Most emails have several servers that receive the message and add this 
header.
3.

What is the expected output? What do you see instead?
I'd like to see an array of the Received headers. I currently get no output.

What version of the product are you using? On what operating system?
PHP 5.2

Please provide any additional information below.

Original issue reported on code.google.com by Timothy....@gmail.com on 11 Mar 2011 at 12:19

GoogleCodeExporter commented 8 years ago
It does work, but the header you request needs to be all lower case, even if it 
isn't in the email. Output is an array as expected. Thanks!

Original comment by Timothy....@gmail.com on 11 Mar 2011 at 12:30