2
votes

I have referred below links,

SetFrom PHPMailer not working

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]";

1

1 Answers

1
votes

As those links say, if you send through gmail, you can't set anything but a gmail address as your form address unless they are handling mail for your domain or you configure "send mail as".