You are here: Re: debugging php mail « PHP Programming Language « IT news, forums, messages
Re: debugging php mail

Posted by dkruger on 10/09/07 21:19

On Oct 9, 4:17 pm, dkruger <davidkru...@techie.com> wrote:
> On Oct 9, 3:27 pm, nextpulse <rob...@nextpulse.com> wrote:
>
> > On Fedora, using php5. The mail() function returns a success - but the
> > mail itself is not actually sent.
> > How do I go about debugging this? Do I need to do this at the linux
> > command level to ensure mail is working? any logs i need to look at?
>
> You could probably check the messages log file. Be sure that sendmail
> is working, and that on the receiving end it is not being blocked. If
> your linux host is not setup for the right MX, for mail it is sending
> as, it is normal for receiving mail servers to discard, or at least
> flag it as being spam. check your /var/spool/mqueue after verifying
> that sendmail is operating, your mails should be listed there, if
> sendmail is not working to relay the mail.

Also be sure that you have an SMTP and smtp port setup under [mail
function] in your php.ini file.

 

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

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