[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/MIME/ -> Message.php (sommaire)

(pas de description)

Poids: 344 lignes (10 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

MIME_Message:: (10 méthodes):
  MIME_Message()
  convertMIMEPart()
  send()
  encode()
  header()
  toString()
  buildMessage()
  getParts()
  getBasePart()
  getPart()


Classe: MIME_Message  - X-Ref

The MIME_Message:: class provides methods for creating and manipulating
MIME email messages.

$Horde: framework/MIME/MIME/Message.php,v 1.76.10.12 2006/01/01 21:28:24 jan Exp $

Copyright 1999-2006 Chuck Hagenbuch <chuck@horde.org>
Copyright 2002-2006 Michael Slusarz <slusarz@bigworm.colorado.edu>

See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

MIME_Message($defaultServer = null)   X-Ref
Constructor - creates a new MIME email message.

param: string $defaultServer  The server to default unqualified

convertMIMEPart(&$mime_part, $server = null)   X-Ref
Create a MIME_Message object from a MIME_Part object.
This function can be called statically via:
MIME_Message::convertMIMEPart();

param: MIME_Part &$mime_part  The MIME_Part object.
param: string $server         The server to default unqualified
return: MIME_Message  The new MIME_Message object.

send($email, &$headers, $driver = null, $params = array()   X-Ref
Sends this message.

param: string $email    The address list to send to.
param: mixed &$headers  The MIME_Headers object holding this message's
param: string $driver   The Mail driver to use (since Horde 3.0.4).
param: array $params    Any parameters necessary for the Mail driver
return: mixed  True on success, PEAR_Error on error.

encode($headers, $charset)   X-Ref
Take a set of headers and make sure they are encoded properly.

param: array $headers   The headers to encode.
param: string $charset  The character set to use.
return: array  The array of encoded headers.

header($headers = array()   X-Ref
Add the proper set of MIME headers for this message to an array.

param: array $headers  The headers to add the MIME headers to.
return: array  The full set of headers including MIME headers.

toString()   X-Ref
Return the entire message contents, including headers, as a string.

return: string  The encoded, generated message.

buildMessage()   X-Ref
Build message from current contents.


getParts()   X-Ref
Get a list of all MIME subparts.

return: array  An array of the MIME_Part subparts.

getBasePart()   X-Ref
Return the base part of the message. This function does NOT
return a reference to make sure that the whole MIME_Message
object isn't accidentally modified.

return: MIME_Message  The base MIME_Part of the message.

getPart($id)   X-Ref
Retrieve a specific MIME part.

param: string $id  The MIME_Part ID string.
return: MIME_Part  The MIME_Part requested, or false if the part



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7