add PHPMailer class to extensions
add phpmailer component
update config file for phpmailer