zbateson / mail-mime-parser

An email parser written in PHP
https://mail-mime-parser.org/
BSD 2-Clause "Simplified" License
442 stars 56 forks source link

Update README.md #178

Closed peppelauro closed 2 years ago

peppelauro commented 2 years ago

Error in code example

zbateson commented 2 years ago

Hi @peppelauro --

Thanks for your contribution.

The return value of $mailParser->parse() is an IMessage, the use of a variable $string in the next example is to say 'you can pass a $string containing a mime message'. I'll clarify this better.