PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

imap_savebody> <imap_rfc822_parse_headers
Last updated: Fri, 05 Sep 2008

view this page in

imap_rfc822_write_address

(PHP 4, PHP 5)

imap_rfc822_write_addressRetourne une adresse email formatée correctement

Description

string imap_rfc822_write_address ( string $mailbox , string $host , string $personal )

Retourne une adresse email formatée correctement selon la » RFC2822.

Liste de paramètres

mailbox

Le nom de la boîte aux lettres, voir la documentation de la fonction imap_open() pour plus de détails

host

La partie hôte de l'email

personal

Le nom du propriétaire du compte

Valeurs de retour

Retourne une adresse email, sous la forme d'une chaîne de caractères, formatée correctement selon la » RFC2822.

Exemples

Exemple #1 Exemple avec imap_rfc822_write_address()

<?php
echo imap_rfc822_write_address("hartmut""example.com""Hartmut Holzgraefe");
?>

L'exemple ci-dessus va afficher :

Hartmut Holzgraefe <hartmut@example.com>



add a note add a note User Contributed Notes
imap_rfc822_write_address
There are no user contributed notes for this page.

imap_savebody> <imap_rfc822_parse_headers
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites