Salut à tous,

J'aimerai utiliser la fonction mail() en local mais j'obtiens cette erreur :
Warning: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at &quot;localhost&quot; port 25, verify your &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use ini_set() ;
je suis chez free, voici le passage du php.ini concerné :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
[mail function]
; For Win32 only.
; <a href="http://php.net/smtp" target="_blank">http://php.net/smtp</a>
SMTP = smtp.free.com
;<a href="http://php.net/smtp-port" target="_blank">http://php.net/smtp-port</a>
smtp_port = 25
et
Code : Sélectionner tout - Visualiser dans une fenêtre à part
sendmail_from = "mon adresse mail"
Est-ce que quelqu'un aurait une idée d'où cela peut venir ?