Reputation: 13743
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?
Upvotes: 361
Views: 152664
Reputation: 303
If you're 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);
This forces it to use raw encoding rather than quoted-printable.
Upvotes: -6
Reputation: 223153
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).
Upvotes: 501