We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f0ccec9 + 8f61064 commit 153b8f2Copy full SHA for 153b8f2
README.md
@@ -89,7 +89,7 @@ echo $message->getHeader('X-Foo'); // for custom or undocume
89
$att = $message->getAttachmentPart(0); // first attachment
90
echo $att->getHeaderValue(HeaderConsts::CONTENT_TYPE); // e.g. "text/plain"
91
echo $att->getHeaderParameter( // value of "charset" part
92
- 'content-type',
+ HeaderConsts::CONTENT_TYPE,
93
'charset'
94
);
95
echo $att->getContent(); // get the attached file's contents
0 commit comments