Logging PHP scripts sending mail

Today I will tell you how you can keep a log of scripts that send mail methods PHP. This is useful if you have settled on a server spammer and you do not know where to find him, because own way to run scripts by default do not fall into / var / log / […]