GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Email::MIME::Header(3) User Contributed Perl Documentation Email::MIME::Header(3)

Email::MIME::Header - the header of a MIME message

version 1.952

This object behaves like a standard Email::Simple header, with the following changes:
  • the "header" method automatically decodes encoded headers if possible
  • the "header_as_obj" method returns an object representation of the header value
  • the "header_raw" method returns the raw header; (read only for now)
  • 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". And be sure to use minimal version 2.83 of Encode module due to bugs in MIME-Header.

Alternately, if you have Unicode (character) strings to set in headers, use the "header_str_set" method.

This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

  • Ricardo SIGNES <rjbs@semiotic.systems>
  • Casey West <casey@geeknest.com>
  • Simon Cozens <simon@cpan.org>

This software is copyright (c) 2004 by Simon Cozens and Casey West.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2021-12-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.