Replies: 1 comment 2 replies
-
...just to add where I'm at - (yes, I know "setHeaderValue" doesn't appear to be a thing) - I'm just looking for a function that achieve what it suggests: @require_once("./vendor/autoload.php"); $string = @file_get_contents("./spool/example1.eml"); $mailParser = new MailMimeParser(); $message = $mailParser->parse($string,FALSE); var_dump($message->getSubject()); $test = $message->setHeaderValue("X-Michael-Test","test value"); |
Beta Was this translation helpful? Give feedback.
-
Maybe I'm not reading in the right spot, or maybe I've not consumed enough caffeine this morning... :)
...but does this library provide a way to set/change the value of an existing header? and add new headers - (eg: X-Something)?
Beta Was this translation helpful? Give feedback.
All reactions