previousMail_Mime::setTxtBody() (Previous) (Next) Mail_mimePart::addsubpart()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Mail_mimePart::Mail_mimePart()

Mail_mimePart::Mail_mimePart() – constructeur

Synopsis

require_once 'Mail/mimePart.php';

Mail_mimePart Mail_mimePart ( string $body = '' , array $params = array() )

Description

Créer un nouvel objet de la classe Mail_mimePart.

Parameter

  • string $body - le corps de la partie MIME si il y en a un. Par défaut c'est une chaîne vide.

  • array $params - un tableau associatif de paramètres:

    • $params["content_type"] - le type de contenu pour cette section. Par ex. multipart/mixed

    • $params["encoding"] - le codage à employer. Par ex 7bit , 8bit , base64 ou quoted-printable

    • $params["cid"] - identifiant du contenu à appliquer

    • $params["disposition"] - disposition du contenu inline (directement dans le texte) ou attachment (en pièce jointe)

    • $params["dfilename"] - paramètre facultatif avec le nom du fichier indiquant la disposition du contenu

    • $params["description"] - description du contenu

    • $params["charset"] - jeu de caractères à employer

    Par défaut ce tableau est vide.

Note

This function can be called statically.

previousMail_Mime::setTxtBody() (Previous) (Next) Mail_mimePart::addsubpart()next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.