Jump to content

Advice need on using the mail() funtion to work on my local machine.


wesleypipes

Recommended Posts

Hi when trying to send mail via html forms on my localhost im getting 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() in C:\Program Files\xampp\htdocs\contact.php on line 30

I hear this is quite a common problem. I have looked into this, but cant seem to solve thhis problem. Can someone more experienced instruct me how to overcome this error

Thankyou

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.