forked from PHPMailer/PHPMailer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add explicit test for UTF-8 with embedded images, see PHPMailer#279 and PHPMailer#377 Add ISO-8859-1 test
- Loading branch information
Showing
4 changed files
with
93 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | ||
<title>PHPMailer Test</title> | ||
</head> | ||
<body> | ||
<div style="width: 640px; font-family: Arial, Helvetica, sans-serif; font-size: 11px;"> | ||
<h1>This is a test of PHPMailer.</h1> | ||
<div align="center"> | ||
<a href="https://github.com/PHPMailer/PHPMailer/"><img src="images/phpmailer.png" height="90" width="340" alt="PHPMailer rocks"></a> | ||
</div> | ||
<p>This example uses <strong>HTML</strong>.</p> | ||
<p>The PHPMailer image at the top has been embedded automatically.</p> | ||
<div style="width: 640px; font-family: Arial, Helvetica, sans-serif; font-size: 11px;"> | ||
<h1>This is a test of PHPMailer.</h1> | ||
<div align="center"> | ||
<a href="https://github.com/PHPMailer/PHPMailer/"><img src="images/phpmailer.png" height="90" width="340" alt="PHPMailer rocks"></a> | ||
</div> | ||
<p>This example uses <strong>HTML</strong>.</p> | ||
<p>ISO-8859-1 text: éèîüçÅñæß</p> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<title>PHPMailer Test</title> | ||
</head> | ||
<body> | ||
<div style="width: 640px; font-family: Arial, Helvetica, sans-serif; font-size: 11px;"> | ||
<h1>This is a test of PHPMailer.</h1> | ||
<div align="center"> | ||
<a href="https://github.com/PHPMailer/PHPMailer/"><img src="images/phpmailer.png" height="90" width="340" alt="PHPMailer rocks"></a> | ||
</div> | ||
<p>This example uses <strong>HTML</strong>.</p> | ||
<p>Chinese text: 郵件內容為空</p> | ||
<p>Russian text: Пустое тело сообщения</p> | ||
<p>Armenian text: Հաղորդագրությունը դատարկ է</p> | ||
<p>Czech text: Prázdné tělo zprávy</p> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters