What's a 3D doing in this HTML?

HtmlCssHtml Email

Html Problem Overview


I'm trying to duplicate a mailer I got into my gmail by taking a look at its code. I see a lot of this in multiple source viewers:

 <td style=3D"border-bottom: 1px dotted rgb(153,157, 147); border-top: 1px solid rgb(28, 140, 78);" width=3D"90">=A0</td>
 <td style=3D"border-bottom: 1px dotted rgb(153,157, 147); border-top: 1px solid rgb(28, 140, 78);" align=3D"right" width=3D"110">

Is 3D some sort of mail rendering thing I don't know about?

Html Solutions


Solution 1 - Html

It's an email encoding system called "quoted-printable", which allows non-ASCII characters to be represented as ASCII for email transportation.

In quoted-printable, any non-standard email octets are represented as an = sign followed by two hex digits representing the octet's value. Of course, to represent a plain = in email, it needs to be represented using quoted-printable encoding too: 3D are the hex digits corresponding to ='s ASCII value (61).

Solution 2 - Html

Folks from Google using Laravel, you can stop the Mail facade from adding all this weird 3D stuff by setting your encoder to raw:

$message->setEncoder(new Swift_Mime_ContentEncoder_RawContentEncoder);

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionNicView Question on Stackoverflow
Solution 1 - HtmlChris Jester-YoungView Answer on Stackoverflow
Solution 2 - HtmlbastinaldView Answer on Stackoverflow