SMTP Config

 $mail->SMTPAuth   = true;               // enable SMTP authentication
$mail->Port = 465; // set the SMTP port for the GMAIL server

$mail->Username = "[email protected]"; // SMTP account username example
$mail->Password = "lnkfd9j3lknh03jd"; // SMTP account password example

// STOP SMTP HERE

$mail->From = $mail->Username;
$mail->AddAddress("$receiving_email_address");

$mail->IsHTML(true);

$mail->Subject = "$custom_subject";
$mail->Body = $
Previous Post Next Post

You might also like: