I have referred below links,
PHPMailer - gmail smtp not working properly
But I my case I am send email, $mail->Username = "[email protected]"; $mail->Password = "xxxxxxxxxxx"; $mail->SetFrom("[email protected]");
But still, when i send email it's showing my [email protected]";