You are here: Mail() « PHP Programming Language « IT news, forums, messages
Mail()

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.'

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация