Created
May 24, 2020 11:43
-
-
Save JustAyush/532f55dc1135527cfb2b38618a72815f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$mail->Host = "smtp.gmail.com"; // SMTP server example | |
$mail->SMTPDebug = 0; // enables SMTP debug information (for testing) | |
$mail->SMTPAuth = true; // enable SMTP authentication | |
$mail->Port = 587; // set the SMTP port for the GMAIL server | |
$mail->Username = '[email protected]'; // SMTP username | |
$mail->Password = 'pixelcre@tives123'; // SMTP account password example | |
$mail->setFrom($email, $name); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment