2011-09-09 6 views
1

내가 이메일을 폭파되는이 phpmailer을 가지고 이메일을 잡 때 보낸 사람은 다음과 같습니다이다php 메일러를 통해 이메일 보내기 보낸 사람의 "myemail via host.blabla"를 어떻게 제거합니까?

 // Real Email Blast: 
     $mail = new PHPMailer(); 
     $mail->From = "[email protected]"; 
     $mail->FromName = "myname"; 
     $mail->AddAddress($email, $name); 

     $mail->Subject = $htmlTitle = stripslashes($reSubject); 

     $mail->Body = $htmlBody = " 
          <div style='direction: rtl; text-align: right;'> 
          ".stripslashes($reEmailContents)." 
          </div>"; 
     // Setting plain text: 
     $text_body = $htmlTitle." 
     ".strip_tags($htmlBody); 

     $mail->AltBody = $text_body; 

     if (!$mail->Send()) { 
      // Email failed error, resending user to landing page: 
      $error .= "<span style='color: #D20005;'>- Failed sending email to:    ".$email." (".$name.")</span><br>"; 
     } 

: [email protected]를 web258.opentransfer.com를 통해 (나의 호스트)

내 코드를 먹으 렴 특히 아웃룩과 Gmail에서 볼 수 있습니다. 이메일에 액세스하면 발신자 상자에서 볼 수 있습니다. 어떻게 제거하고 호스트없이 보낼 수 있습니까? 당신이 (공유 호스트에서 가능하지 않을 수 있음) 사이트에서 사용자 정의 메일 서버를 실행하지 않는 한 나는, 당신이 그것을 바꿀 수 있다고 생각하지 않습니다

"yourdomainhere.com를 통해"의 의도이다

+0

코드를 게시 하시겠습니까? –

답변

1

PHPMailer가 문제가 아니기 때문에 귀하의 질문은 아마도 ServerFault에 더 적합 할 것입니다.

+0

나는 또한 전용 서버를 가지고 있는데, 호스트없이 합법적으로 전자 메일을 보내려면 어떻게해야합니까? – Tzvi

+0

역 DNS로 해결할 수 있습니까? – Tzvi

+0

가능한 것처럼 보입니다. 내가 말한 것처럼 : serverfault는 갈 곳이다 : http://serverfault.com/questions/30188/how-do-i-configure-reverse-dns-for-a-smtp-server – Sum