| name | language | licence |
|---|---|---|
| JS/JQUERY : Script pour gestion onglet en Jquery | Other | Other |
| JS/JQUERY : infobulle en js+JQuery | Other | Other |
| MAIL : requete ping par mail | Other | Other |
| MAIL/HTML : remarques | Other | Other |
| PHP : Boucle ecriture dans un fichier XML | PHP | Other |
| PHP : Detection ie6 et ie7 en php | PHP | Other |
| PHP : class mail | PHP | Other |
| PHP : date en php | Other | Other |
< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 >
language: PHP
licence: Other
PHP : class mail
options: view full snippet • send to code collector
//envoi d'un mail en texte avec piece jointe
require_once("class.mail.php");
// creation de l'instance
$mail = new simplemail;
//ajout du destinataire
$mail -> addrecipient($email, $nom);
// ajout de l'expediteur
$mail -> addfrom('pierre@designsystem.re','Administrateur');
//ajout du sujet
$mail -> addsubject('UFR : Message envoyé depuis le site Internet');
//ajout pièce jointe
$mail -> addattachement('PDF/pass.pdf');
// le message plaintext
$mail -> text = $message;



library
html (48)