The title basically says it all.
We’ve got a subdomain setup where every single subdomain is the same exact site, but branded for different companies.
There’s a PHP script that sends an email based on certain actions when a form is submitted. Is there anyway (possibly in cPanel) to see a record of those sent emails? Or will I have to code something in to that script?
If mail() encounters an error, this usually logs the error in this location: /var/log/messages (unix path)
Otherwise, logging is as easy as adding few extra lines of code when you are calling the mail() function.