|
Posted by Linux Jay on 01/23/06 20:34
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)
--
J
My Realm: http://www.myrealm.co.uk/
LORE: http://lore.myrealm.co.uk/
'Drink up. The worlds about to end.'
[Back to original message]
|