Mail::M...tedPrint(3)

πŸ’– Mail::Message::TransferEnc::QuotedPrint πŸ’–

okay bestie, so this is a page out of the User Contributed Perl Documentation (that's the manual name, she's lowkey famous), and it's all about the module Mail::Message::TransferEnc::QuotedPrint β€” aka the girl who handles quoted-printable message bodies. slay. πŸŽ€


✨ NAME ✨

Mail::Message::TransferEnc::QuotedPrint β€” handle quoted-printable message bodies. that's it, that's the job, and she does it flawlessly. πŸ’…


🌸 INHERITANCE 🌸

 Mail::Message::TransferEnc::QuotedPrint
   is a Mail::Message::TransferEnc
   is a Mail::Reporter

she's got a whole family tree, periodt. three generations of iconic behavior. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

 my Mail::Message $msg = ...;
 my $decoded = $msg->decoded;
 my $encoded = $msg->encode(transfer => 'quoted-printable');

like, look at her go. decode one way, encode the other, no notes. πŸ”₯


πŸ’œ DESCRIPTION πŸ’œ

so basically: this module encodes and decodes message bodies for quoted-printable transfer encoding. the Quoted-Printable encoding is intended to represent data that largely consists of bytes that correspond to printable characters in the ASCII character set. (the vibes are printable, the bytes are giving ASCII.)

and then β€” non-printable characters (as defined by English Americans, which is a whole thing) are represented by a triplet consisting of the character "=" followed by two hexadecimal digits. three characters, one job, no cap. ✨

Extends "DESCRIPTION" in Mail::Message::TransferEnc.


🧚 METHODS 🧚

Extends "METHODS" in Mail::Message::TransferEnc.

πŸŽ€ Constructors

Extends "Constructors" in Mail::Message::TransferEnc.

  • $class->new(%options) β€” Inherited, see "Constructors" in Mail::Reporter. she didn't write it, she inherited it, and honestly? nepotism but make it functional. πŸ’–

πŸŽ€ Attributes

Extends "Attributes" in Mail::Message::TransferEnc.

(yes bestie, that's the whole section. she said "attributes? inherited. moving on." πŸ’€)

πŸŽ€ The Encoder

Extends "The Encoder" in Mail::Message::TransferEnc.

  • $class->addTransferEncoder($type, $class) β€” Inherited, see "The Encoder" in Mail::Message::TransferEnc.
  • $obj->create($type, %options) β€” Inherited, see "The Encoder" in Mail::Message::TransferEnc.
  • $obj->name() β€” Inherited, see "The Encoder" in Mail::Message::TransferEnc.

three inherited methods, zero drama, all vibes. 🌈

πŸŽ€ Encoding

Extends "Encoding" in Mail::Message::TransferEnc.

  • $obj->check($body, %options) β€” Inherited, see "Encoding" in Mail::Message::TransferEnc.
  • $obj->decode($body, %options) β€” okay so decoding is tricky, and not without loss of information. 😭 like, you get most of your stuff back but not all of it, that's just the deal. lines will stay separate lines, although they might have been joined before the encoding split them up. characters which are not printable will be replaced by their octal value, and carriage returns ('=0D') at end of line are removed. Improves base, see "Encoding" in Mail::Message::TransferEnc.
 -Option     --Defined in                --Default
  result_type  Mail::Message::TransferEnc  <type of source body>
  • result_type => CLASS
  • $obj->encode($body, %options) β€” encoding to quoted-printable is a careful process, bestie, she does not rush. all characters outside the normal printing range, and including '=' are encoded. they are translated into a '=' followed by a two digit hex of the ascii value of the character. the same treatment is for white-spaces at the end of a line. 🫢

the lines which are constructed which must be 76 characters max, not broken on encoded characters. Improves base, see "Encoding" in Mail::Message::TransferEnc.

 -Option     --Defined in                --Default
  result_type  Mail::Message::TransferEnc  <type of source body>
  • result_type => CLASS

πŸŽ€ Error handling

Extends "Error handling" in Mail::Message::TransferEnc.

  • $obj->AUTOLOAD() β€” Inherited, see "Error handling" in Mail::Reporter.
  • $obj->notImplemented() β€” Inherited, see "Error handling" in Mail::Reporter.

she handles errors the way she handles everything: inherited-ly and gracefully. 😌

πŸŽ€ Cleanup

Extends "Cleanup" in Mail::Message::TransferEnc.

  • $obj->DESTROY() β€” Inherited, see "Cleanup" in Mail::Reporter.

she said "I'll see myself out" and then literally did. πŸ’€βœ¨


πŸ”₯ DIAGNOSTICS πŸ”₯

  • Error: class $package does not implement method $method. Fatal error: the specific $package (or one of its superclasses) does not implement this method where it should. This message means that some other related classes do implement this method however the class at hand does not. Probably you should investigate this and probably inform the author of the package. Cast by notImplemented().
bestie this is a fatal error, not a lil oopsie. the class said "I don't know her" about a method she's supposed to have. go investigate, then go tell the author. πŸ™ˆ
  • Error: decoder for transfer encoding $type does not work: $@ Compiling the required transfer encoding resulted in errors, which means that the decoder can not be used. Cast by create().
the decoder literally will not compile. she's not usable. it's giving broken. πŸ’€
  • Error: no decoder for transfer encoding $type. A decoder for the specified type of transfer encoding is not implemented. Cast by create().
that transfer encoding? no decoder. doesn't exist. never has. 😭

⭐ SEE ALSO ⭐

This module is part of Mail-Message version 4.04, built on February 04, 2026. Website: http://perl.overmeer.net/CPAN/


πŸ‘‘ LICENSE πŸ‘‘

For contributors see file ChangeLog.

This software is copyright (c) 2001-2026 by Mark Overmeer.

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


and that's the whole page, bestie!! 🫢 she was rendered by perl v5.42.0 on 2026-02-05, filed under that iconic Mail::M...tedPrint(3) name. go forth and quoted-print responsibly. mwah. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from