ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Configuring sendmail on Jaguar
Subject:   sendmail working with email client but not with php
Date:   2003-05-26 18:28:01
From:   anonymous2
Response to: sendmail working with email client but not with php

I have the same problem. In fact what it happens in my case is that the php script that should send the mail seems to be running forever whithout sending any output. If i stop the browser from loading the page generated it works... but otherwise it doesn't. I tried the php built-in mail() function, and also the PEAR sendmail implementation which opens a pipe to sendmail. The reult is the same in both cases. Actually if you try to run from the command-line something like:

/usr/sbin/sendmail -ffoo@foo.bar -- a@foobar.com\n From: foo@foo.bar\n
To: a@foobar.com\n
Subject: Test\n
test mail body\n

you will see that sendmail doesn't quit and hangs up...

All tests above work perfect on linux but I need this also for a OSX machine

sugestions and comments at : alexbota_at_xnet_dot_ro