mail problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ecaandrew
Forum Commoner
Posts: 72
Joined: Fri Nov 12, 2004 5:05 pm

mail problem

Post 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
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

what's your server's OS / MTA ?
ecaandrew
Forum Commoner
Posts: 72
Joined: Fri Nov 12, 2004 5:05 pm

Post by ecaandrew »

linunx redhat enterprise 3

i know where the php.ini is
ecaandrew
Forum Commoner
Posts: 72
Joined: Fri Nov 12, 2004 5:05 pm

Post 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?
Post Reply