PHP and local server info from programmers
January 6, 2007 9:46am CST
Hey there, please I would like information on how to enable email sending using a PHP script on a local server(intranet). Please I need this information as soon as possible as it's for my project which will be due in 5 days' time. Thanks.
8 Jan 07
You need a mail server program installed. Most commonly used mail server is Sendmail which is available at www.sendmail.org. Then you need to configure your php.ini file. Also check that sendmail module for php is installed and enabled. You can get that detail by using phpinfo(). If everything is set use mail(). Documentation for mail function is at http://in.php.net/mail. If you get any more problems just post it here. I will try to help you.
8 Jan 07
I have trying to find this discussion for very long... just found it. They should make something to mark a discussion and list it where we like. Hey swaroop, I guess ve got good knowledge in programming. Hope to get some of your knowledge...
6 Jan 07
Hey there!! I guess you will need to setup a local mail server program in the intranet. After that you can simply use the php mail function to send emails. If I get more info I ll get back to you. But I am sure you will need a mail server program. You may find many freeware mailserver applications on the net..