chadm Posted April 2, 2007 Share Posted April 2, 2007 Our Setup: Windows 2003 Server, Apache 2.0.47, PHP 4.4.4. We have a situation that an SMTP server refused the connection from our web server and all of the mail was lost. My question: is there a log of the mail sent? Is a temp file written anywhere with the message? Can I turn on a logging feature to track if the situation happens again? Last question, is there such thing as a "badmail" folder for the PHP mail() function that the Microsoft SMTP services has for classic ASP's email function? Thanks for any help!! Chad Link to comment https://forums.phpfreaks.com/topic/45330-php4-mail-what-really-happens-message-logged/ Share on other sites More sharing options...
per1os Posted April 2, 2007 Share Posted April 2, 2007 There is not a log of email sent, that would be insane the size it could reach. As for creating a log I would look into PEAR::Mail() as they have a whole queuing feature will gives you the option to log all mail to your database. Link to comment https://forums.phpfreaks.com/topic/45330-php4-mail-what-really-happens-message-logged/#findComment-220092 Share on other sites More sharing options...
chadm Posted April 2, 2007 Author Share Posted April 2, 2007 Thanks for the quick reply! I'll look into PEAR::Mail(). My other option is to rewrite the function that builds our email message and store that in our database. Thanks again for the reply. Link to comment https://forums.phpfreaks.com/topic/45330-php4-mail-what-really-happens-message-logged/#findComment-220134 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.