Connecting Tech Pros Worldwide Help | Site Map

Sendmail Stopped Working After Upgrade

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 09:58 AM
STEPHEN GOODE
Guest
 
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



  #2  
Old July 17th, 2005, 09:58 AM
justin.shreve@gmail.com
Guest
 
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?

  #3  
Old July 17th, 2005, 09:58 AM
STEPHEN GOODE
Guest
 
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


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.