Hello,

On 05/20/2002 01:42 AM, CDitty wrote:
> I get this error and the program code outputted to the screen.
> 
> Failed loading /usr/local/Zend/lib/ZendOptimiser.so: 
> /usr/local/Zend/lib/ZendOptimiser.so: cannot open shared object file: No 
> such file or directory
> 
> I just looked in that directory and there is a ZendOptimizer.so file.  I 
> copied it to ZendOptimiser.so and ran it again.  No error, but still 
> getting the code output.

I think the script runs ok but the actual  message that is sent from the 
script is not accepted or gets stuck somewhere.

PHP mail() implementation s*cks in many ways because you do not get much 
feedback from it to sort out any errors.

If you don't see anything else in the logs, maybe you need to use some 
SMTP sending client PHP component where you can see the dialog with the 
server to figure why it is probably being rejected or otherwise not 
delivered.

Regards,
Manuel Lemos


> At 11:17 PM 5/19/2002, you wrote:
> 
>> On 05/20/2002 12:38 AM, Cditty wrote:
>>
>>> Hello all.  I am trying to write a small program that will run 
>>> everytime an email is received at a certain mailbox on my sever.  I 
>>> had this running at one time, but for some reason, it will not run.  
>>> I am not getting any errors and I can't figure out what is going on.  
>>> Below is the code that I am trying to run.
>>> #!/usr/bin/php -q
>>> ### CHANGE VALUES OF THE FOLLOWING VARIABLES ###
>>> $to = "[EMAIL PROTECTED]";
>>> $subj = "message";
>>> $hdrs = "From: [EMAIL PROTECTED]\n";
>>> $msg = "This is going out";
>>> mail($to, $subj, $msg, $hdrs);
>>> This is what is returned in the maillog file.
>>> May 19 22:29:07 server1 sendmail[3502]: WAA03501: 
>>> to="|/path/to/file/imap.php", delay=00:00:00, xdelay=00:00:00, 
>>> mailer=prog, stat=Sent
>>> Can anyone point me in the right direction?  The script has been 
>>> chmod 755.
>>
>>
>> What happens when you do /usr/bin/php -q /path/to/file/imap.php ?


-- 

Regards,
Manuel Lemos


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to