으로 이메일을 보내 텍스트를 숨길 수있는 방법, 메일의 세부 사항은 다음과 같이 나타납니다내가 PHP로 이메일을 보낼 때 PHP
http://i.stack.imgur.com/tiWzB.jpg
내가 '원하지 않는 zastava.websitewelcome.com '라고 표시됩니다. 나는이 예제를 같은 숨기려 :
http://i.stack.imgur.com/i8mNL.jpg
<?php
$to = '[email protected]' . ', '; // note the comma
$subject = 'Hi how are you?';
// message
$message = '
<html>
<head>
<title>Hi </title>
</head>
<body>
<p style="font-family:Tahoma;font-size:16px;color:red">
hi how are you
</p>
</body>
</html>
';
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'To: sss <[email protected]>' . "\r\n";
$headers .= "From: asdf <[email protected]>" . "\r\n";
// Mail it
mail($to, $subject, $message, $headers);
?>
메일을 어떻게 보내시겠습니까? 코드를 공유 할 수 있습니까? Gmail이나 다른 이메일 프로그램에 표시되는 것입니까? –
처음에이 코드를 가져 오는 방법에 대한 코드를 제공하십시오. – ChrisK
@Doug 그것은 Gmail의 보안 기능입니다. OP가 Google을 속일려고하고 있습니다. – AgentConundrum