Jump to content

Does mail() throw any error messages?


SCook

Recommended Posts

There should be entries in the error log file if error_reporting is set to E_ALL and php error logging is enabled.

 

You can also turn on the track_errors bit (globally or in your script) and get any mail generated errors into your script using $php_errormsg -

 

http://us3.php.net/manual/en/errorfunc.configuration.php#ini.track-errors

 

http://us3.php.net/manual/en/reserved.variables.phperrormsg.php

 

Edit: if you just want to see them for debugging set display_errors to ON, in addition to setting error_reporting to E_ALL

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.