Page 1 of 1

mail problem

Posted: Fri Nov 12, 2004 5:06 pm
by ecaandrew
hello i cant get the mail function to work on my server

mail('webmaster@gfxcom.com','subject','body',"From: me@domain.com\r\n");

it wont email me, am i doing something wrong or do i have mail disable on my server, and if thats possible how do i fix that? thanks

Posted: Fri Nov 12, 2004 5:17 pm
by Weirdan
what's your server's OS / MTA ?

Posted: Fri Nov 12, 2004 5:20 pm
by ecaandrew
linunx redhat enterprise 3

i know where the php.ini is

Posted: Fri Nov 12, 2004 5:25 pm
by ecaandrew
i just tested the mail command on my other linux server, and it works with that code, and i just compared php mail functions, ther eboth identical?