3

When sending out HTML emails via PEAR, although it renders correctly on email clients, when looking at the message source the text has lots of = signs.

Example

blah blah blah blah blah blah blah blah blah blah blah blah blah blah=blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah=blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah= blah blah blah blah blah blah

Any ideas why and how they can be removed? Do they cause any issues?

Bojangles
  • 99,427
  • 50
  • 170
  • 208
Homer_J
  • 3,277
  • 12
  • 45
  • 65

2 Answers2

4

It is part of the (oldschool but still used!) quoted-printable encoding that represents a 8-bit ASCII string in 7-bit ASC codeset. All characters that are >127 are encoded in the form =F3, which is a hexadecimal representation of the character. Read more at Wikipedia on quoted-printable

To read the message, you must apply quoted_printable_decode() to the string. or use a proper MIME Mail decoder that will resolve other issue's that you will encounter when trying to parse mails, too.

It does not cause issues - it solves them.

Kaii
  • 20,122
  • 3
  • 38
  • 60
1

They are part of the quoted-printable encoding and must be present in order to read the message properly.

Ignacio Vazquez-Abrams
  • 776,304
  • 153
  • 1,341
  • 1,358