restore phpmailer master branch, fix addAttachment, add media\file\model
dependency