Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


how to change from address when using gmail smtp server


how to change from address when using gmail smtp server  using -'php,email,smtp,gmail'

I want to send an email from A to B,with HEADER and CONTENT through gmail.

How to do that by PHP?

I've specified the FROM(from@example.com),but when I receive the email,it's still from my gmail account(abc@gmail.com).



$mail->From = "from@example.com";
$mail->FromName = "Mailer";
$mail->AddAddress("abc12@163.com", "Josh Adams");// name is optional
$mail->AddReplyTo("abc12@qq.com", "Information");


How do I change the FROM part?
    

asked Sep 14, 2015 by BernieceHKI
0 votes
6 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...