내가 이메일을 폭파되는이 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를 통해"의 의도이다
코드를 게시 하시겠습니까? –