Warning: mail () [function.mail]: no se pudo conectar al servidor de correo

Obteniendo mensaje de error

Warning: mail () [function.mail]: no se pudo conectar al servidor de correo en el puerto 25 "localhost", verifique su configuración "SMTP" y "smtp_port" en php.ini o use ini_set () en

He abierto php.ini y creo que necesito agregar

SMTP "localhost" PHP_INI_ALL
smtp_port "25" PHP_INI_ALL
sendmail_from NULL PHP_INI_ALL
sendmail_path NULL PHP_INI_SYSTEM

¿No estoy seguro de dónde agregarlo? También corrígeme si algo que creo que debo hacer es incorrecto. Actualmente estoy desarrollando un sitio web en localhost, así que si necesito algo, dígamelo.

EDITAR*

Mi host local es XAMPP y creo que esto tiene un servidor de correo

Respuestas a la pregunta(4)

Su respuesta a la pregunta