Click to See Complete Forum and Search --> : linux + sendmail...


phssik
11-07-2002, 12:26 AM
HI...

I am using mail(...) function in PHP on Linux...

On Windows System, I can change SMTP Mail Server by editing php.ini file...

SMTP = localhost
or
SMTP = some_ip...

But I don't know how to change SMTP Mail Server For Linux PHP...

If You know the answer, Please reply to Me....

Thanks....

nashirak
11-07-2002, 01:41 PM
Well under *nix systems you need to edit you actual mail servers .ini or .cf or whatever. Under *nix I think sendmail checks that file not something PHP gives it.
So figure out wether you are using exim, postifx, etc... and edit your hostname in there.

Hope this Helps!