Asked by philevans114
at 2024-08-03 04:01:29
Point:500 Replies:3 POST_ID:828680USER_ID:11495
Topic:
Web Servers;;
Hi
I have a Linux Centos 5.9 LAMP using EXIM for mail. Some of the web PHP script uses PEAR Mail() to send mail. The script has stopped working and now I get a logged error :-
pear mail() returned failure code=0 mode=return
I don't know how to debug PEAR mail() to find out the reason for the error. I have searched logs (Exim maillog, messages etc) but cannot find any info.
I noted that /usr/sbin/sendmail has been removed. I am not sure after much googling how to reinstall it. It seems that I do not have sendmail installed. However it seems looking at Exim maillog that it uses /usr/sbin/sendmail. More in hope than expectation I copied sendmail from another location on the server. However PEAR mail() still produces the same error.
Any help is much appreciated.
Regards
Phil
I have a Linux Centos 5.9 LAMP using EXIM for mail. Some of the web PHP script uses PEAR Mail() to send mail. The script has stopped working and now I get a logged error :-
pear mail() returned failure code=0 mode=return
I don't know how to debug PEAR mail() to find out the reason for the error. I have searched logs (Exim maillog, messages etc) but cannot find any info.
I noted that /usr/sbin/sendmail has been removed. I am not sure after much googling how to reinstall it. It seems that I do not have sendmail installed. However it seems looking at Exim maillog that it uses /usr/sbin/sendmail. More in hope than expectation I copied sendmail from another location on the server. However PEAR mail() still produces the same error.
Any help is much appreciated.
Regards
Phil