MIME Messages
Other MIME
Session Cache


Other MIME functions


<?php

require_once HORDE_BASE '/lib/MIME.php';
require_once 
HORDE_BASE '/lib/MIME/Structure.php';

// Encode/Decode a string as required in email headers
$encoded MIME::encode($decoded$charset);
$decoded MIME::decode($encoded);

// Parse an email and return an array of attachments
$structure MIME_Structure::parse($body$index$ids);

?>
  

  • The MIME system also contains functions for working with email.
  • Encoding of header strings and parsing of multipart messages are some of the features provided.