Maintenant, j'essaie de tester un formulaire d'inscription sur mon ordinateur, j'ai PHP & Mysql et wampserver installé sur mon ordinateur Windows Vista mais quand j'essaie de soumettre le formulaire d'inscription, je reçois l'erreur suivante.PHP et SMTP Problème sur l'ordinateur localhost?
Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
Je sais aller le fichier php.ini mais que dois-je ajouter, et où est là où je l'ai ajouté à est ici-bas.
[mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32 only. ;sendmail_from = [email protected] ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of ; the 5th parameter to mail(), even in safe mode. ;mail.force_extra_parameters = [SQL]
[cochez] (http://roshanbh.com.np/2007/12/sending-e-mail-from-localhost-in-php-in-windows-environment.html) ce lien pour envoyer un message depuis localhost . – Paulraj