Quoted-Printable emails not rendering correctly
See original GitHub issueI think this is the same issue as https://github.com/mailslurper/mailslurper/issues/83 but it’s marked closed and I can’t reopen it.
I sent this simple email via Mailslurp:
<!doctype html>
<html>
<head>
<title></title>
</head>
<body>
This is a test email. <a href="http://example.com">Link</a>
</body>
</html>
Result:
Viewing source we see: <a href=3D"http://example.com">
I stuck a socat listener in between the mail client and Mailslurp, the conversation is below. The mail client correctly includes the Content-Transfer-Encoding: quoted-printable
header to indicate the content encoding is QP.
➜ socat -v TCP-LISTEN:2501,fork,reuseaddr TCP:localhost:2500
220 Welcome to MailSlurper!\r
EHLO localhost\r
250 Hello. How very nice to meet you!\r
MAIL FROM:<test@test.com>\r
250 Ok\r
RCPT TO:<test@test.com>\r
250 Ok\r
DATA\r
354 End data with <CR><LF>.<CR><LF>\r
Mime-Version: 1.0\r
Date: Fri, 06 Sep 2019 12:47:07 +0100\r
Message-Id: <1567770427392666000.4685.4156668335605406494@localhost>\r
Subject: MLTest01\r
To: "Dummy Derp" <test@test.com>\r
From: test@test.com\r
X-Mailer: gophish\r
Content-Type: text/html; charset=UTF-8\r
Content-Transfer-Encoding: quoted-printable\r
\r
<!doctype html>\r
<html>\r
<head>\r
<title></title>\r
</head>\r
<body>\r
This is a test email. <a href=3D"http://example.com">Link</a>\r
\r
<img alt=3D'' style=3D'display: none' src=3D'http://localhost/track?rid=3D0=\r
RtyL3a'/></body>\r
</html>\r
.\r
250 Ok\r
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:7
Top Results From Across the Web
Quoted printable attachments not displaying correctly
I have an issue where attachments to emails encoded in quoted printable get corrupted, the email itself displays correctly, just the attachment ...
Read more >Email not displaying correctly - Apple Community
Email not displaying correctly. Recently, emails from one contact have started to display as ... Content-Transfer-Encoding: quoted-printable.
Read more >quoted printable line continuation bug? - Stack Overflow
In this case, I'm trying to embed the report as html the body, but outlook is not rendering parts of the report correctly....
Read more >Notes mail is rendered strange in outlook (EML) - Super User
Yes, it's a standard part of the MIME Quoted-Printable transfer encoding ... Outlook doesn't recognize it as such (either not seeing it as...
Read more >correctly encode emails as quoted-printable - Bugzilla@Mozilla
a lot of email encoding issues will be resolved if we encoded all utf8 emails as 8bit instead of quoted-printable. we'd be able...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Workaround: use mailhog
Another year later, can’t use a link in my email :c