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!

php mail configuration 2

Status
Not open for further replies.

svar

Programmer
Aug 12, 2001
349
GR
According to for php mail to work, some php.ini configuration is needed, but I mostly see Windows only options. How do I configure php.ini to work with Kmail or other linux mailers?
 
You don't need to if PHP is running on *nix, "Windows only" php.ini settings are only required if PHP is running on a Windows platform.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
you do need to make sure that the sendmail path is set correctly (in the event that sendmail is not in your system path).

and of course you need to make sure that sendmail (or another MTA) is installed and properly configured to allow local relay (but prohibit open relay).
 
Thanks, so if I understand correctly
if my (whatever) *nix email is runnig correctly and I am able to send mail from by *nix machine, regardless of what program I use (save for webmail), I do not need to do anything to get this to work with PHP, right?
 
pretty much, yes.

provided that the email client you are using (successfully) itself uses sendmail rather than creating its own sockets.

easy enough to tell whether sendmail is running
Code:
ps aux | grep sendmail
 
asy enough to tell whether sendmail is running

Or you could use

Code:
telnet localhost 25
and read it the banner

type: quit <enter> to exit.



Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top