The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Using mail function on my server

Hi.

I have setup a server on my home PC with php/mysql/etc, using the phpdev install. Everything seems to be working ok, except for the mail function. After a short wait after ive hit the submit button, its returns saying "Warning: Failed to Receive in e:\phpdev\blabla\reg.php on line 92". That line is part of the register bit where it sends out an email.

I understand this has something to do with the "php.ini" file, around line 500. I changed the stuff to my ISP's (Nildram) SMTP ip, and under that added smtp_port 25, being as thats the post it said it uses.

This did not fix anything, and i got the same error message coming back.

Good luck with trying to get the mail working on phpdev. Its a pig of a set up and not good for pro development. There are thousands of posts in the phpdev forums about this issue and also perl and mason modules. At the end of the day its not woth the hassle when so many bundles exist for free. phpdev must be the worst. If you need a bundle try foxserve. I have seen many posts promoting this though theres nothing better than standard Apache/MySQL/php install. Its not that hard and once you have managed it, save copies of httpd.conf and php.ini and should you ever crash its twice as easy the next time.