Jump to content

PHP Mail does not work


Renegade605

Recommended Posts

The mail() function in PHP does not work for me. At first I got an error indicating that the server was not set up properly (I host my own). Now there's no message and it still doesn't work. Is there a setup I should run on my webserver?

Link to comment
Share on other sites

You have to install an SMTP (Simple Mail Transfer Protocol) server in order to send mail.

Link to comment
Share on other sites

Download one and follow the installation instructions. What OS are you on?Or you may be able to use your ISP's, or an email provider's - for example, GMail allows use of their SMTP server.

Link to comment
Share on other sites

  • 1 month later...
I'm running Windows XP Pro SP3.Do you have any suggestions for free SMTP servers with basic functions?
I'd suggest hMailServer. It's a fully featured free mail server. It will serve you well for the mail() function, and much more. Not to mention it's incredibly easy to use for a product with so many features.
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...