bonjour voici mon code
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
 
 mail("adel@exemple.com", "This is a subject", "This is the mail body");
Notice: Undefined index: post in C:\wamp2\www\pef\liste.php on line 1
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()
voici mon php.ini
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
 
 For Win32 only.
  <a href="http://php.net/smtp" target="_blank">http://php.net/smtp</a>
SMTP = localhost
  <a href="http://php.net/smtp-port" target="_blank">http://php.net/smtp-port</a>
smtp_port = 25
 
 For Win32 only.
  <a href="http://php.net/sendmail-from" target="_blank">http://php.net/sendmail-from</a>
sendmail_from = you@yourdomain
je voudrais savoir comment corrigez ce problème
merci