Notice: Undefined variable: mail in /opt/lampp/htdocs/capstone-admin/process/loginFunctions.php on line 98 Fatal error: Uncaught Error: Call to a member function isSMTP() on null in /opt/lampp/htdocs/capstone-admin/process/loginFunctions.php:98 Stack trace: #0 {main} thrown in /opt/lampp/htdocs/capstone-admin/process/loginFunctions.php on line 98
<?php use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\SMTP; use PHPMailer\PHPMailer\Exception; require __DIR__. '/../vendor/autoload.php'; $mail = new PHPMailer(); $mail->isSMTP(); $mail->SMTPAuth = true; $mail->SMTPSecure = 'ssl'; // More codes ...... ?>
- assets - helpers - process - loginFunctions.php - vendor - composer - phpmailer / phpmailer - autoload.php - views - .gitignore - composer.json - composer.lock - index.php - README.md
use
require
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)