Skip to Content
0
Jul 20, 2010 at 09:07 AM

how to decode Quoted-printable content to plain text

513 Views

Hi all,

I need a help with decoding body of incoming email (type MHT).

After reading content of email (body) in Sap Office I get text table with content like this...

But I need to get only a plain text to processing this text ...

Can somebody help me to show how to decode such a content with quoted-printed ?

Thanks a lot for any idea...

Best regards,

MD

Example of email's body (MTH , MHTML)...

Content-Type: multipart/related;

boundary="----=_Part_15_25978208.1277465809718"

-


=_Part_15_25978208.1277465809718

Content-Type: text/plain; charset="utf-8"

Content-Transfer-Encoding: quoted-printable

Dobr=C3=BD den,

p=C5=99=C3=ADlohou tohoto e-mailu jsou data z formul=C3=A1=C5=99e vypln=C4=

=9Bn=C3=A9ho u=C5=BEivatelem na str=C3=A1nk=C3=A1ch www.cez.cz.

typ formul=C3=A1=C5=99e: PLYN

verze formul=C3=A1=C5=99e: DOM_EXT

kampa=C5=88: KAM2

EAN/OM: 1234567890

=C4=8D=C3=A1rov=C3=BD k=C3=B3d: 5E5200ZZ02-90003246=20

-


=_Part_15_25978208.1277465809718--