내 메일에 HTML 태그가 포함 된 일부 tempalte가 있습니다. 이미지 ... 내 ID로 메일을 보내고 Gmail에서 올바른 템플릿을 가져올 때 열 수 있지만 썬더 버드에서 HTML 태그 만 가져 오는 중 ... 올바른 형식이 아닙니다.썬더 버드 메일 HTML 렌더링 문제 메일이 PHP 메일 기능을 통해 보낼 때?
코드 : 나는 썬더 버드에 대한 변경 필요
<?php
// multiple recipients
$to = '[email protected]'; // note the comma
// subject
$subject = 'Birthday Reminders for August';
// message
$message = '
<h1> hiii </h1> <h3>h3</h3> <strong> strong </strong>
<p>Here are the birthdays upcoming in August!</p>
<table>
<tr>
<th>Person</th><th>Day</th><th>Month</th><th>Year</th>
</tr>
<tr>
<td>Joe</td><td>3rd</td><td>August</td><td>1970</td>
</tr>
<tr>
<td>Sally</td><td>17th</td><td>August</td><td>1973</td>
</tr>
';
// 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 .= 'From:Birthday Reminder <[email protected]>' . "\r\n";
// Mail it
mail($to, $subject, $message, $headers);
?>
?
Content-type: text/html; charset=iso-8859-1
Return-Path: <[email protected]>
<html>
<head>
<title>Registration</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p><strong>Dear xdcxz fdzfsd <br />
<a href="www.site.com/id/2">Click here</a> to accept...
</p>
</body>
</html>
이것은 썬더 버드에서 보여지는 방식입니다.
하지만 Gmail에서 내가 올바른 HTML을 rendreing있어
...
당신이 수정되지 않은 사항에 대한 자세한 내용을 게시 할 수 있습니다 감사합니다 :) 명심하세요? 또는 스크린 샷? 일반적으로 썬더 버드는 아주 좋은 HTML 전자 메일 렌더링을 사용하므로 문제가 있다는 말에 놀랐습니다. – scunliffe