I need to modify the headers of mail to have look like it's being sent from an external address.
I have problem in sending mail from same domain. For example,
A(abc@aura.com)
send mail to B(xyz@aura.com)
When A send mail to B. B is not able to get mail because of same domain issue. I spent lots of time but nothing helps. Somehow i find that modifying header I can achieve my solution. Here i find little bit solution link. But I don't know how to modify it.
I try something like:
$mail->setFrom('abc@aura.com', ucfirst($sende_name[0]));
$mail->Sender='abccd@aura.com';
But nothing helps.
Any help please.