j'essaie d'envoyer un mail via php, mais j'ai une erreur :
pourtant, dans le php.ini, j'ai:
Code : Sélectionner tout - Visualiser dans une fenêtre à part Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\charte_v0\scripts\sendMail.php on line 59
alors ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 [mail function] ; For Win32 only. ; http://php.net/smtp SMTP = localhost ; http://php.net/smtp-port smtp_port = 25
Merci,
Nico








Répondre avec citation
Partager