>From: David Robley <[EMAIL PROTECTED]>
>To: Peter Houchin Sun Rentals STR Manager <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Re: [PHP] mail problem
>Date: Thu, 13 Sep 2001 14:51:36 +0930
>MIME-Version: 1.0
>Content-Transfer-Encoding: 8bit
>X-Mozilla-Status: 0000
>X-Mozilla-Status2: 00000000
>X-UIDL: 87d7bf374e4397134844fc82600f8871
>
>On Thu, 13 Sep 2001 13:43, Peter Houchin Sun Rentals STR Manager wrote:
>
><SNIP headers: didja know dtmail was putting them in?>
>
>
>> >On Thu, 13 Sep 2001 13:10, Peter Houchin Sun Rentals STR Manager wrote:
>> >> >On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager 
>wrote:
>> >> >> hiya
>> >> >>
>> >> >> I have several scripts that send mail from web pages made in
>> >> >> php.. now these pages all work fine.
>> >> >>
>> >> >> now all of a sudden php has stopped sending mail and I don't know
>> >> >> why
>> >> >>
>> >> >> System info
>> >> >>
>> >> >> Unix box running Solaris 2.6
>> >> >> apache 1.3.12
>> >> >> php 4.0.4pl1
>> >> >> using sendmail for the emails
>> >> >>
>> >> >> php.ini mail related line:
>> >> >> sendmail_path   =       sendmail -t -i          ;for unix only,
>> >> >> may supply arguments as well (default is 'sendmail -t -i')
>> >> >>
>> >> >> now when I test to see the scripts php reports everything is ok
>> >> >> and sends back a possitive result. and that the mail has been
>> >> >> sent. when it hasn't
>> >> >
>> >> >I think that the positive result means that php has successfully
>> >> > handed the message off to sendmail or whatever; whether sendmail
>> >> > then succeeds is another story :-)
>> >> >
>> >> >> now I can go to the commandline and send emails no problem but
>> >> >> from the web pages I can't .. any suggestions would be
>> >> >> apreciated.
>> >> >
>> >> >My first thought would be to check the relevant log for sendmail
>> >> >activity, which might give a clue?
>> >>
>> >> the syslog for send mail says this though it gives me no clues
>> >
>> ><SNIP log entries>
>> >
>> >> Peter
>> >
>> >Not much traffic there :-) Try sending one from the command line, then
>> >one with your script and then check the log again.
>>
>> That's because its on the web server traffic ... set up to handle just
>> requests from our webpages ...
>>
>> ok now I've done what you said and found this out..
>>
>> from command line it adds a entry to the syslog for sendmail
>>
>> from the web page it does not seem to add anything to the log
>
>So php is handing it off OK, but sendmail appears to be not 
>getting/ignoring it? Any system changes or anything even minor happened 
>around the time things stoped working. [I'm grasping at straws here a bit 
>because I don't know how php handles the communication with sendmail]
>


Not on this server no ... yes on other servers with in the network ... inc our 
mail mail server .. but not on this one, having said that about 6 weeks ago we 
have a power outage with out our ups connect (very very bad I know but the ups 
was getting fixed) any way was all working good since then until about 4 days 
ago.

I've also tried change the sendmail line in php.ini so it reads 

sendmail_path   =       /usr/lib/sendmail -t -i          ;for unix only,
may supply arguments as well (default is 'sendmail -t -i')
 

 
 ie adding the full path for sendmail.. but still no luck.. 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to