Re: debugging php mail



On Oct 9, 2:19 pm, dkruger <davidkru...@xxxxxxxxxx> wrote:
On Oct 9, 4:17 pm, dkruger <davidkru...@xxxxxxxxxx> wrote:

On Oct 9, 3:27 pm, nextpulse <rob...@xxxxxxxxxxxxx> 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.

Yep. They are all setup.
Essentially, this worked on another box (fedora 4 and php4). I am
porting it to a new box (php5) and it stopped working (with no code
changes). So I am debugging to try an locate the issue. Any help in
this area will be appreciated. Logs to look at etc.

.



Relevant Pages

  • Re: debugging php mail
    ... Do I need to do this at the linux ... sendmail is not working to relay the mail. ... They are all setup. ... So I am debugging to try an locate the issue. ...
    (comp.lang.php)
  • Re: Help again please
    ... I assume this is your linux box. ... Port 80 is the port that a web server will run on such as apache. ... As a router can support multiple machines, ... a good firewall when setup correctly. ...
    (comp.os.linux.security)
  • Re: Only some websites will open - Ubuntu
    ... Linux drivers..so its weird that that works, ... network setup in vmware, the virtual machine is assigned it's own IP ... Slashdot won't load, vmware.com won't load, ... Linksys RV082 router with basically the default settings. ...
    (comp.os.linux.misc)
  • Re: How can I lock down a Red Hat system?
    ... >>> does know Linux I don't want the to be able to run command and get ... is that gdm will do some setup and then start the X server ... booting the computer from a floppy. ... Boot from floppy to install ...
    (comp.os.linux.security)
  • Re: Best microcontroller with Linux development tools
    ... far that actually mentions Linux support for a debugging/programming JTAG ... I do like the IDEs for debugging, though, ... I bought the Silicon Labs development kit and it come with a USB ... SDCC is even listed on their list of 3rd party vendors. ...
    (comp.arch.embedded)