Search code examples
phpmailergoogle-workspace

gsuite mail with phpmailer


enter image description here

I set up my site registration form with phpmailer and gsuite. email is working perfectly. but I getting this notifications top of the register page after registration. what should I do for this?


Solution

  • It looks like you have enabled SMTP debugging. Check your configuration for the below.

    $mail->SMTPDebug = SMTP::DEBUG_SERVER;
    $mail->SMTPDebug = 2; //Alternative to above constant
    

    PHPMailerSMTP Debugging