[Info-vax] Mail reading/processing problem, UTF-8

AEF spamsink2001 at yahoo.com
Thu Aug 25 22:41:32 EDT 2011


On Aug 25, 6:46 pm, AEF <spamsink2... at yahoo.com> wrote:
> On Aug 23, 8:48 pm, AEF <spamsink2... at yahoo.com> wrote:
>
>
>
>
>
>
>
>
>
> > On Aug 20, 3:54 pm, Jan-Erik Soderholm <jan-erik.soderh... at telia.com>
> > wrote:
>
> > > Hi.
>
> > > I'm getting automated mail send from a auction site
> > > to my VMS system. Now, they use UTF-8 to encode both
> > > the subject and the "body". An example might look like :
>
> > > [from:, to: and date: fields are plain text]
>
> > > Subject: =?utf-8?B?U8OlbHQgb2JqZWt0OiA0IHN0IFVMTjI4MDMgZGFybGluZ3Rv?=
> > >   =?utf-8?B?biBkcml2ZXJzLiBESVAgLCAxMzcyNTc0NjEuIEvDtnBhcmU6IGJlbmd0?=
> > >   =?utf-8?B?dy00OA==?=
> > > Content-Type: text/plain; charset=utf-8
> > > Content-Transfer-Encoding: base64
> > > Message-ID: <SHERRIhO29nIvX6bxu800cda... at sherri.prod.tradera.com>
> > > X-OriginalArrivalTime: 10 Aug 2011 18:18:25.0924 (UTC)
> > > FILETIME=[E57D6C40:01CC5789]
>
> > > KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
> > > KioqKioqKioqKioqKioqKioqKioqKioqKg0KU8Oka2VyaGV0c3ZlcmlmaWVyaW5n
> > > OiBGw7ZyIGF0dCBzdHlya2EgYXR0IGRldHRhIG1haWwgc2tpY2thdHMgZnLDpW4g
> > > VHJhZGVyYSBiaWZvZ2FyIHZpIGRpdHQgcmVnaXN0cmVyYWRlIG5hbW46IEphbi1F
> > > cmlrIFPDtmRlcmhvbG0gQ29uc3VsdGluZyBBQg0KTWVyIG9tIHPDpGtlcmhldDog
>
> > > [rest of mail like the lines above...]
>
> > > I am currently looking for tools to read this, and I'm currently
> > > testing with the MIME.EXE tool. I can read the body with a
> > > sequence of OPEN and READ commands to MIME.EXE, but not the
> > > subject.
>
> > > The main problem is that my matching rules on the sbject in the
> > > MAIL.DELIVER file has major problems with that subject of course.
> > > But it would be OK to read all mails and decide later on what to
> > > do with them, as long as I can actualy read the subject/body.
>
> > > So, how to decode that "=?utf-8?B?U8O......" string into
> > > something readable ?
>
> > > And also the base64/UTF-8 body of the message, of course
>
> > > Any pointers are very much appreciated.
>
> > > And no, I do not need any "that is bad practice" tips.
> > > There is absolutely no way this is going to change at
> > > the sending side.
>
> > > Regards,
> > > Jan-Erik.
>
> > Hey! Switch to "quaint" mail. You'll never get these emails again!  \
> > (^_^)/
>
> > Yes, I'm still alive and kicking.  . . .  Well, alive, anyway. (!)
>
> > AEF
>
> Uh, make that "Well, alive anyway."
>
> AEF

Yikes! 'Had it right the first time, I think:

Yes, I'm still alive and kicking. . . . Well, alive, anyway. (!)

AEF



More information about the Info-vax mailing list