View Emails sent from Script


Dec 15, 2017
South Africa
cPanel Access Level
Root Administrator
Hey Guys,

So im in a bit of pickle at the moment with one of our clients sites hosted with us. The dev created the client a website for their wedding with an attached RSVP form that gets activated when the invitee responds.

There has however been people confirming they have got the successful RSVP mail however a DB insert was done. The dev had a PHP mail() script to execute this mail which is working 100% however is there a way that we can view any log files to track the emails that were sent as this contains a summary of the form that was filled out before clicking respond?

This would help us to do a manual DB insert or printout for the dev that he can then go and add the missing responses and fix his form? I can only see as far as the delivery reports on the clients cPanel but is there anything in our WHM that can assist?



Staff member
Apr 11, 2011

The Exim logs (e.g. /var/log/exim_mainlog) will include information about the deliveries, but it won't include the content of the actual emails. There's no way to recover that data unless the messages were not deliverable on the first attempt and queued for delivery in "WHM >> Mail Queue Manager".

Thank you.