skip to Main Content

PHPMailer some emails blank

I have used PHPMailer for several years now with no issues but I'm now seeing issues on a few emails going out completely blank. My code looks like this: <?php use PHPMailerPHPMailerPHPMailer; use PHPMailerPHPMailerSMTP; use PHPMailerPHPMailerException; $mail = new PHPMailer();…

VIEW QUESTION

Php – Invalid address: [email protected] ,[email protected] Mailer Error: You must provide at least one recipient email address.There was an error

$thismessage=base64_encode($htmlmsg); $subject="Grups Automation siemens and sick sensor Product"; $mail->SMTPDebug= 2; $mail->IsSMTP(); //Sets Mailer to send message using SMTP $mail->Host = 'My hosting server'; //Sets the SMTP hosts of your Email hosting, this for Godaddy $mail->Port = '465'; //Sets the default…

VIEW QUESTION

Php – why SMTP error?. when i run on localhost it works. but when i put on my server SMTP error. can someone explains?

use PHPMailerPHPMailerPHPMailer; use PHPMailerPHPMailerException; use PHPMailerPHPMailerSMTP; //Load Composer's autoloader require 'vendor/autoload.php'; function send_password_reset($get_name, $get_email, $token) { $mail = new PHPMailer(true); $mail->SMTPDebug = 3; $mail->isSMTP(); $mail->Host = 'smtp.gmail.com'; $mail->SMTPAuth = true; $mail->Username = ''; $mail->Password = ''; $mail->SMTPSecure = 'tls'; $mail->Port…

VIEW QUESTION
Back To Top
Search