Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I recently moved some of my PHP code to a new box running debian stable,
however it seems my calls to mail() no longer work, but I can't seem to find
any error message (i.e. mails simply fail to get there). A test script I wrote
using the Mail PEAR module, set to use mail() also fails, but when it's set to
use sendmail directly it's fine.

Looking for the sendmail binary I ended up finding:
lrwxrwxrwx  1 root root 5 2006-01-18 16:47 /usr/sbin/sendmail -> exim4

Any suggestions what's wrong? The same code worked on my old box IIRC, so I
believe my call to the mail function is correct at least. I _could_ just use
the PEAR module, but it would mean changing various parts of my codebase or
writing a wrapper of some kind.

Am using PHP 4.3.10 (yes I know it's not the latest :P)

My Realm:
'Drink up.  The worlds about to end.'  

Re: Mail()

Linux Jay wrote:
Quoted text here. Click to load it

Look at your exim log to see what it says is happening.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Site Timeline