Page 1 of 1

mail() problems

Posted: Fri Nov 07, 2003 5:54 am
by Klyve1
I have a very simple email using mail() that works fine on my dev server and on a hosted site but not with my latest host.
They can't tell me what's going wrong at all and I'm at a loss!!

Is there any way to debug what's not working for mail()?
I.e. where it's going, what it's looking for etc.

php.ini points to sendmail ok by the way.
My host tells me they use exim, but this shouldn't make a difference, should it?

Thanks

Posted: Fri Nov 07, 2003 7:08 am
by Weirdan
Do they allow execution of the shell commands from PHP? mail() function requires shell to work.

Posted: Fri Nov 07, 2003 7:31 am
by Klyve1
I've been fiddling around and found that it works if I send to a .co.uk but not to the .com!?

Anyone know why this may be? I've got it working for .co.uk's and .com's but not the .com I need!