svncommit_hook.php was written to address the numerous problems with the commit_email.pl script which is bundled with subversion. Email messages sent by this script are sent as multipart messages with each diff in its own part. All of the parts are sent as nicely formatted HTML. It is possible to specify the charset of the files in the repository (the default is still UTF-8). Diffs are displayed only for the modified files. Diffs are colored. PHP files are validated with "php -l". It is possible to specify the URL of a corresponding Trac-resource, and the links to the files will be automatically included in the email.