I would like to use the mail() function in local but I get this error :
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() ;
Here is the concerned php.ini :
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = smtp.free.com
;http://php.net/smtp-port
smtp_port = 25
and sendmail_from = "my email adress"
Does someone know from where that could come from ?
Edit: Ok, I finally found out. the smtp was not smtp.free.com but smtp.free.fr.... Thanks for your help to each anyway.
smtp.free.com. - Bradphpinfo()and confirm that you are editing the PHP.ini currently in use. - Brad