Zaahid Bateson
Zaahid Bateson
> What I definitely can say is that most people don't know the difference between "value", "parameter", "comment" etc. for an email header! If I see something like getValue() I...
I never "just give you whatever's in there"... it's never the equivalent of "getRawValue". The only instance it's a little different is the way it gives the first email rather...
(unless the header doesn't require any processing of course)
How about I deprecate getValue only in AddressHeader, introduce a getCompleteValue (again just for AddressHeader) in a 1.3... then in 2.0 I deprecate getCompleteValue and restore getValue with the functionality...
> This is exactly the problem! To me, a header is a header. I don't know which headers need processing... No, you misunderstood me... ``` Subject: this doesn't need any...
You can have a look at what type of Header object is created for what type of header here: https://github.com/zbateson/mail-mime-parser/blob/master/src/Header/HeaderFactory.php The default is a "GenericHeader" which filters out comments and...
The information in that case is still available via getRawValue if you want it that way of course, but parts are accessible separately too via ``` getParts ``` https://mail-mime-parser.org/api/1.2/classes/ZBateson.MailMimeParser.Header.GenericHeader.html --...
Hi @ThomasLandauer -- I've had a chance to look at this some more and think about it and the behaviour isn't quite the way you described it. 'getValue' actually consistently...
@chrisrex it means you need the dependencies Mail-Mime-Parser depends on. If you don't use composer you'll have to manually download and install them (and any dependencies they in turn depend...
This Stackoverflow question might help: https://stackoverflow.com/questions/40545795/how-do-i-install-composer-php-packages-without-composer