Le code nécessaire et suffisante pour envoyer un simple email au format HTML en utilisant la commande mail() en PHP est:
1 2 3 4 5 6 7 | / / Préparation de la tête pour indiquer HTML "MIME-Version: 1.0 \n " . $ Headers = "MIME-Version: 1.0 \ n". "Content-Type: text / html; charset = UTF-8 \ n". "De: Undolog.com <info@undolog.com> \ n". "Cci: Copie <g.fazioli@undolog.com> \ n"; "Destinatario <info@e-lementi.com>" , "Oggetto della mail" , "<p>Corpo della mail in <strong>HTML</strong></p>" , $headers ) ; électronique («Destinataire <info@e-lementi.com>", "Objet du mail», «Corps du <p> email <strong> HTML </ strong> </ p>", $ headers); |










Il n'y a aucun commentaire pour cet article
Laisser un commentaire