PHP and local server info from programmers

@eseomame (1146)
United States
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.
2 responses
• India
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.
1 person likes this
@eseomame (1146)
• United States
8 Jan 07
Thanks a lot, I'll do that now and keep you informed. You'll get a '+' for now.
• India
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...
1 person likes this
@eseomame (1146)
• United States
8 Jan 07
Yeah sure... I'm willing to share my knowledge, ideas, etc. with any and everybody.
• India
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..
1 person likes this
@eseomame (1146)
• United States
6 Jan 07
Thanks a lot... please do keep me posted. I appreciate.