View Full Version : How to set up a mail server?
heavensgate15
04-22-2010, 02:22 PM
Ei, I'm having a problem using the mail function in PHP since it requires me to have a mail server... I have tried downloading software which manage this mailing system but dunno how to set it up so that I can use the mail function... Can anyone tell me how? :(
Installing a mail server script is probably the most complicated solution possible. If you don't already have a good idea about how to set it up, it will be really difficult.
I'd strongly recommend simply finding a server that already supports mail().
djr33
04-22-2010, 09:53 PM
If you can't get mail() to work, then you probably won't be able to access a low enough level on the server to install a server.
heavensgate15
04-22-2010, 11:43 PM
What should I do?
BLiZZaRD
04-23-2010, 12:01 AM
create a new document named check.php
in check.php put the following only:
<?php phpInfo(); ?>
upload it to the root folder so it can be accessed at: http://www.yoursite.com/check.php
Then go there. Scroll down until you see entries for send_mail there should be 2, 3 or 4 depending on your servers set up.
Post back either with the link to that page or what the send_mail sections have listed.
What should I do?
I'd strongly recommend simply finding a server that already supports mail().
honestly, that's the best option (if, after you check you phpinfo, you find that your current server truly doesn't support it). You shouldn't need much of a hosting plan to use mail().
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.