- Clone the repository
- Run
composer install
to install PHPMailer dependency
composer install
- Open
sendmail.php
file - Change the following lines with your own credentials
$mail->Username = ''; // Your Gmail address
$mail->Password = ''; // Your Gmail App password
$mail->setFrom(''); // Your Gmail address (again)
$mail->addAddress(''); // Your recipient, where the email will be sent