Une méthode particulièrement simple afin d'utilisé la fonction mail() sur ton serveur local, il suffit d'éditer le fichier intitulé 'php.ini' dans ce dernier chercher les lignes suivantes :
Citation
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
remplace SMTP = localhost par SMTP = LE_SERVEUR_SMTP de ton FAI, pour moi il s'agit de Club Internet voici donc mon fichier :
Citation
[mail function]
; For Win32 only.
SMTP = mail.club-internet.fr
smtp_port = 25
Je peux donc envoyé des mails en local
A bientôt !