Sendmail Stopped Working After Upgrade

This is a discussion on Sendmail Stopped Working After Upgrade within the PHP Language forums, part of the PHP Programming Forums category; I had a client upgrade his PHP from 4.? to 4.3.9. An important script stopped working. It seems ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-11-2004
STEPHEN GOODE
 
Posts: n/a
Default Sendmail Stopped Working After Upgrade

I had a client upgrade his PHP from 4.? to 4.3.9. An important script
stopped working. It seems to work fine, but it uses the mail() function and
sendmail to send notifications. The email never arrives. The script worked
fine before the upgrade. Variables in php.ini seem to be set correctly. The
system is Redhat Linux. With the upgrade, a new php.ini file was created,
which had far more in it than it did before. Setting all of the variables
back to what they were before the upgrade didn't seem to help.

Does anyone know of a reason why 4.3.9 doesn't work right with sendmail?

Rex


Reply With Quote
  #2 (permalink)  
Old 12-12-2004
justin.shreve@gmail.com
 
Posts: n/a
Default Re: Sendmail Stopped Working After Upgrade

What's the return value of mail()?

false/true?

Can you post the bit of code that sends the mail?
Is sendmail installed, and does sendmail work via the command line?

Reply With Quote
  #3 (permalink)  
Old 12-12-2004
STEPHEN GOODE
 
Posts: n/a
Default Re: Sendmail Stopped Working After Upgrade

Thanks for the reply.

We cut down the php.ini file to just the variables we knew we needed and it
all worked.

Can't post the code due to confidentiality agreements. It's a simple mail()
that doesn't look at the return code.

Sendmail is installed and does work via the command line. Everything works
now. We just don't know what about the php.ini file was preventing it and
what portion removed enabled it to work again.

Rex


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0