خرید بک لینک

Vote count: 0

I was trying to set from in php mailer (gmail smtp). But in inbox it shows from mygmailaccount@gmail.com. here is my code :

        $this->_mail->Useame = "mygmailaccount@gmail.com";
        //Password to use for SMTP authentication
        $this->_mail->Password = 'mypassword';
        $this->_mail->From="support@mydomain.com";
        $this->_mail->FromName="Support Team";
        //Set who the message is to be sent from
        $this->_mail->setFrom('support@mydomain.com', 'Support Team',false);

But when i receive email in inbox its show from : mygmailaccount@gmail.com and i want to show from : support@mydomain.com

Can anyone help me to find out what i am missing.

Many Thanks

asked 1 min ago

- - , .

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 13 اسفند 1394 ساعت: 19:12

صفحه بندی