LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   reading multipart mime emails (https://www.linuxquestions.org/questions/linux-software-2/reading-multipart-mime-emails-281620/)

alan_h404 01-24-2005 09:56 AM

reading multipart mime emails
 
Hello all

I occasionally get sent multipart mime email attachements from Outlook express - I'm sure they could alter something at their end, but is there a way of reading/decoding these in Linux. All I get is something like the following.

Quote:

Date: Sat, 22 Jan 2005 12:23:35 -0000
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_NextPart_000_0008_01C5007D.57317C20"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441

This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C5007D.57317C20
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0009_01C5007D.57317C20"


------=_NextPart_001_0009_01C5007D.57317C20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Here we go! Courses and workshops attached
------=_NextPart_001_0009_01C5007D.57317C20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1479" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#b8b8b8>
<DIV><FONT face=3DArial size=3D2>Here we go! Courses and workshops=20
attached</FONT></DIV></BODY></HTML>

------=_NextPart_001_0009_01C5007D.57317C20--

------=_NextPart_000_0008_01C5007D.57317C20
Content-Type: application/msword;
name="jan.courses.doc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="jan.courses.doc"

0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAALwAAAAAAAAAA
EAAAMQAAAAEAAAD+////AAAAAC4AAAD/////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////s
pcEANyAJBAAA+BK/AAAAAAAAEAAAAAAABAAAog0AAA4AYmpialUWVRYAAAAAAAAAAAAAAAAAAAAA
AAAJBBYAMhoAADd8AAA3fAAAogkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//w8AAAAA

etc spread over 2 emails.
I can't read this in Yahoo webmail either

Any info about what this actually is would be greatfully appreciated?
Thanks for your help

Alan

secesh 01-24-2005 11:00 AM

multipart/mime is a method of attaching external documents to e-mail... notice the attachment jan.courses.doc

-- you need somthing that can read MS doc files to get that open... usually you can save attachments to disk, then open with whatever can handle the file type.

alan_h404 01-24-2005 11:09 AM

Thanks for your reply

The thing is there is no attachment which I can save. It's pasted into the bodies of the 2 emails starting

Content-Disposition: attachment;
filename="jan.courses.doc"

0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAALwAAAAAAAAAA
EAAAMQAAAAEAAAD+////AAAAAC4AAAD/////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////

Do you think I could copy and paste all the "code" into a text file and change the name to "jan.courses.doc" it would work (I'm surprised it works on the senders windows machine as it has 2 "."s in the name!)?

Thanks again

Alan

secesh 01-24-2005 11:13 AM

it looks like the sender has told outlook/OE to split e-mails larger than xKb. I'm not sure how to rejoin them (when not using outlook/OE on the receiving end)... if nobody else jumps on this, i'll look it up later...


All times are GMT -5. The time now is 07:05 PM.