Mail MIME class

Last updated on
28 March 2018

If you want to use the Mail_mime class, then follow the instructions below.
Note: this class is not required, but you can use it to send mail with attachments inline on a HTML message.

The following files, available from PEAR, must be installed and available somewhere on the include_path.

  • Mail/mime.php
  • Mail/mimeDecode.php
  • Mail/mimePart.php
  • PEAR.php
  • PEAR5.php

One way to satisfy this is to run the following commands from a shell prompt:

pear install -a Mail_Mime
pear install Mail_mimeDecode

The -a parameter ensures that dependencies, including Mail/mimePart.php, are also installed.

Help improve this page

Page status: No known problems

You can: