DCodeMania / send-mail-contact-form-phpmailer-gmail-smtp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

  1. Clone the repository
  2. Run composer install to install PHPMailer dependency
  composer install

Configuration

  1. Open sendmail.php file
  2. 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

About


Languages

Language:Hack 74.8%Language:PHP 25.2%