Mail function not working with Linux/php

Ask your questions regarding TimeTrex installation here.
Locked
toones
Posts: 26
Joined: Fri Oct 05, 2007 8:52 pm

Mail function not working with Linux/php

Post by toones »

The mail function is not working on my installation. The error that comes up is: Call to undefined function mail(). From Google I have been able to determine that this is an error from when PHP was compiled. Being as I used the installer, I am wondering if it is possible that when PHP was compiled for the Linux installation package that the sendmail path was incorrect or omitted in RC4. Has anyone been successful at getting the mail function to work in Linux from the installer package in RC4?

Important note: Don't try to test the mail function with the lost password password function using your admin email. The lost password changes the password, and if the mail function is undefined you will not know what it changes the password to.
toones
Posts: 26
Joined: Fri Oct 05, 2007 8:52 pm

Update

Post by toones »

I have done a clean install of Centos, prior to installing Timetrex I have tested the sendmail (mail()) function. It is working correctly without TimeTrex installed. It appears that there is an error with the compiling of PHP in TimeTrex.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Thanks for the report, I have passed this on to our developers.
Locked