Women in Technology

Hear us Roar



Article:
  Configuring sendmail on Jaguar
Subject:   sendmail working with email client but not with php
Date:   2003-05-26 10:31:45
From:   anonymous2
i followed your instructions and got sendmail working so that i can use my email client to send messages, but i can't seem to get the mail function with php 4.3.1 working. it doesn't return an error, it just doesn't seem to send any messages. any help would be greatly appreciated. thx.
Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • sendmail working with email client but not with php
    2003-05-26 18:28:01  anonymous2 [View]

    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
    \n
    test mail body\n
    \n
    ^D

    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
  • sendmail working with email client but not with php
    2003-05-26 18:27:45  anonymous2 [View]

    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
    \n
    test mail body\n
    \n
    ^D

    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