Capítulo 10. Zend_Mime

Índice

10.1. Introduction

10.1. Introduction

Zend_Mime is a support class for handling multipart MIME messages. It is used by Zend_Mail, and may be used by applications requiring MIME support.

Zend_Mime provides a simple set of methods to work with MIME:

  • boundary(): Returns the MIME boundary string.
  • boundaryLine(): Returns the complete MIME boundary line.
  • encodeBase64(): Encodes a string into base64 encoding.
  • encodeQuotedPrintable(): Encodes a string with the quoted-printable mechanism.
  • isPrintable(): Returns TRUE if the given string contains no unprintable characters, FALSE otherwise.
  • mimeEnd(): Returns the complete MIME end boundary line.