Fixed all the function-name changes from PHPMailer