Update Feature: update PHPmailer library to latest 5.2.4 and some cleanups and PHPdoc