horseatingweeds Posted March 2, 2008 Share Posted March 2, 2008 I'm trying to sanitize the inputs for a mail form and was wondering if there is a way to print the header sent by mail() for testing. Link to comment https://forums.phpfreaks.com/topic/93923-is-ther-a-way-to-echo-what-is-sent-by-mail/ Share on other sites More sharing options...
trq Posted March 2, 2008 Share Posted March 2, 2008 The mail() function doesn't actually send the email but smply passes it your your mail transport agent. So, the short answer is no. You might however log the MTA if you have sufficient permissions on the server. Link to comment https://forums.phpfreaks.com/topic/93923-is-ther-a-way-to-echo-what-is-sent-by-mail/#findComment-481244 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.