Email::MIME::Header(3pm) User Contributed Perl Documentation Email::MIME::Header(3pm)
NAME
Email::MIME::Header - the header of a MIME message
DESCRIPTION
This object behaves like a standard Email::Simple header, with the following changes:
o the "header" method automatically decodes encoded headers if possible
o the "header_raw" method returns the raw header; (read only for now)
o stringification uses "header_raw" rather than "header"
Note that "header_set" does not do encoding for you, and expects an encoded header. Thus, "header_set" round-trips with "header_raw", not
"header"! Be sure to properly encode your headers with "Encode::encode('MIME-Header', $value)" before passing them to "header_set".
Alternately, if you have Unicode (character) strings to set in headers, use the "header_str_set" method.
COPYRIGHT
This software is copyright (c) 2004 by Simon Cozens.
This is free software; you can redistribute it and/or modify it under the same terms as perl itself.
perl v5.12.4 2011-09-12 Email::MIME::Header(3pm)