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

Posted by Jerry Stuckle on 01/23/06 20:52

Linux Jay wrote:
> 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)
>

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.
jstucklex@attglobal.net
==================

 

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

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