Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending email using Apache

Status
Not open for further replies.

greenmetal

Programmer
Feb 27, 2001
4
CA
Hello All,

I've an Apache 1.3 running on win NT. I've an html pages from which I'm trying to send an email but I find that I never receive email. Is there anything I need to configure in Apache or do I need some mail server program running which will send an email

thanx in advance.

greenmetal
 
Hi greenmetal,
what SMTP server are you sending to? Have you a code example? Does the SMTP server you are sending to allow non-authorised usage?

regards

Joel
 
Hi Joel,

I just noticed that in order to able to send mail, one needs to specify the SMTP server name or IP address in the php.ini file. Then only the mail() function is able to send the mail.

Is there any option in Apache where I can specify SMTP server so that I don't have to set in PHP.ini file ???

greenmetal
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top