I think what the OP wants is to still have errors but not have them displayed but written to a file if that is the case please read http://perishablepress.com/advanced-php-error-handling-via-htaccess/
I too am having this same issue the cpanel email is not sending and same with the php mail() function. I have tried sending email to both my yahoo mail and gmail account.
I am currently working on making my own traffic exchange website
http://sega16.x10.mx/trafficexchange/
Not much is done right now but I want to make it good right from the ground up.
So I want everyone ideas on what makes a traffic exchange good.
I will be writing the script in php as it is...