2013-05-30 56 views
0

我有一個網站託管燈服務器上的頭部,有一個接觸的形式將使用PHPMailer的一個SMTP(Gmail的)發送電子郵件,PHPMailer的改變電子郵件

我在PHPMailer的腳本添加自定義的主機名

public $Hostname   = 'www.google.com'; 

    /** 
    * Sets the message ID to be used in the Message-Id header. 
    * If empty, a unique id will be generated. 
    * @var string 
    */ 

當我觀看電子郵件的來源有在報頭中的線

Received: from www.google.com (234092384281.ctinets.com. [server.ip.ip.ip]) 
     by mx.google.com with ESMTPSA id ve6sm3340494pbc.21.2013.05.29.21.17.15 
     for <[email protected]> 
     (version=TLSv1 cipher=RC4-SHA bits=128/128); 
     Wed, 29 May 2013 21:17:16 -0700 (PDT) 

是它能夠去除(234092384281.ctinets.com。[server.ip.ip.ip])?

回答

0

不,這是不可能的,當你使用谷歌SMTP,他們控制它。不是你。如果你必須擺脫那,那麼你將不得不使用自己的SMTP服務器