1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PHP mail() sometime work sometime don't

Discussion in 'Plesk for Linux - 8.x and Older' started by wonski, May 25, 2006.

  1. wonski

    wonski Guest

    I'm also having problem with the PHP mail() function.

    Its sometime can sent, sometime can't and return the following error:

    PHP Warning: mail(): Could not execute mail delivery program '/usr/sbin/sendmail -t -i'

    The permission of that sendmail link is:

    0 lrwxrwxrwx 1 root root 23 Oct 20 2005 /usr/sbin/sendmail -> /var/qmail/bin/sendmail

    and permission for /var/qmail/bin/sendmail is:

    12 -r-xr-xr-x 1 root qmail 9640 Aug 24 2005 /var/qmail/bin/sendmai

    My /var/qmail/control/me file is correct, as it can sent out sometime.

    Other servers which also with Plesk are alright. Only this particular server having the problem. Anyone know what could be the problem? Is that the setting or permission?

    Thanks in advance