Hola a todos, todas:
Estoy intentando enviar un mail de activación desde mi proyecto y me da el siguiente error


:
Cita: 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:\xampp\htdocs\DBQuery\RegistroPersona.php on line 368
He mirado la configuración y me parece que la tengo bien (pero realmente tengo dudas) como no soy especialmente buen conocedor del tema configuración y la idea es que luego funcione cuando suba le proyecto a la red

, no me atrevo a tocar parámetros por si consigo que me funcione, pero con una configuración "exclusiva" y luego me de errores en vivo.
¿Alguien conoce la solución?
Un saludo y gracias por adelantado

,
J.
Código:
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = postmaster@localhost
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path = "\"\xampp\sendmail\sendmail.exe\" -t"
; 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 =
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header = Off
; Log all mail() calls including the full path of the script, line #, to address and headers
;mail.log = "\xampp\apache\logs\php_mail.log"