Mail en php

celine -  
 greg -
Bonjour,
est-ce-que je peux envoyer un mail avec le commande mail vers un adresse mail de yahoo
si oui comment?
merci d'avance
Configuration: Windows XP
Firefox 2.0.0.12

1 réponse

  1. greg
     
    Bonsoir Céline,

    ben simplement en utilisant la fonction : mail("adresse@yahoo.fr", "ton titre", "ton texte");
    Par contre, paramètre bien ton fichier php.ini du genre :

    [mail function]
    ; For Win32 only.
    SMTP = smtp.tonfournisseur.fr

    ; For Win32 only.
    sendmail_from = tonadresse@dexpedition.fr

    A+, Greg.
    0