Error thrown

Call to undefined function PHPMailer\PHPMailer\mail()