Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2004
    Thanked 0 Times in 0 Posts

    PHP/PEAR mail error

    We are experencing some problems with the use of PHP's mail() function. Our support staff told us that the mail() function has some limitations and told us to look into using PEAR's mail() function as an alternative. We did that but the same issue is happening.

    To give you a little background, we use the mail() command to send out a confirmation email when someone fills out a form or submits a reservation for any of our various client sites. The problem is only occuring for our one specific client which just happens to be the site that uses the script the most as they take online reservations for various events and dining purposes.

    The error we are receiving is:

    Warning: mail() [function.mail]: Could not execute mail delivery program '/usr/sbin/sendmail -oi -t' in /usr/lib/php/Mail/mail.php on line 109

    This error does not occur all the time but when it does, no emails are sent which has caused some internal problems with regards to the client's members expecting to receive confirmation and with our client's employees trying to track the reservations. The reservations are stored in a database so we are able to verify that the reservations are being made but for some reason the mail script errors out for some reservations.

    I'm hoping someone has a vast knowledge of the mail() function, either with PHP or PEAR, and can help us troubleshoot the issue and learn more about any limitations with it (such as, is there a max number of connections at one time, is there a way to cache/store the email confirmations if the script fails and have it resent when the function becomes stable again).

    We are willing to pay whomever for their assistance on this matter so please reply here and we can discuss this further by email or private message.

  • #2
    New to the CF scene
    Join Date
    Mar 2008
    Thanked 0 Times in 0 Posts
    what program you use to Coding ?


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts