468,301 Members | 1,511 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,301 developers. It's quick & easy.

Getting multipart messages from Outlook

3
Dear ppls,
I'm doing a small project to extract all messages from outlook by Visual Basic 6.0 and write them into a file(in MBOX format). While accessing messages i able to get headers, body, list of attachments. Herer two cases has to be considered.
1. Messages without Attachments.
2. Messages with Attachments.
For the first case "Content-Type" will be text/plain or test/html etc..., for 2nd case "Content-Type" will be multipart with a boundry value.
The problem is with the 2nd case. I need to get informations like the following. How i can get it?.


This is a multi-part message in MIME format.

--===============1583387543==
Content-Type: multipart/related;
boundary="===============1583387543==_R"

--===============1583387543==_R
Content-Type: multipart/alternative;
boundary="===============1583387543==_R_A"

--===============1583387543==_R_A
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

@@@@@@@ body information will come here

--===============1583387543==_R_A
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

@@@@ body in html format

--===============1583387543==_R_A--

--===============1583387543==_R
Content-Type: image/jpeg; name="image001.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="image001.jpg"
Content-ID: <image001.jpg@01C6D756.ABA16C00>

@@@@ encoded attachment

--===============1583387543==_R
Content-Type: image/jpeg; name="image002.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="image002.jpg"
Content-ID: <image002.jpg@01C6D756.ABA16C00>

@@@@ encoded attachment

--===============1583387543==_R--

--===============1583387543==
Content-Type: text/plain; name="ATT00003.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="ATT00003.txt"

_______________________________________________
Vo-team mailing list
Vo-team@list-server
http://list-server/mailman/listinfo/vo-team

--===============1583387543==--

Plz, clear me this with appropriate code in visual basic


with thanks,
ptraj.
Nov 1 '06 #1
0 1221

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

34 posts views Thread by Niels Berkers | last post: by
2 posts views Thread by Damien | last post: by
1 post views Thread by Peter Krikelis | last post: by
13 posts views Thread by Mike P | last post: by
4 posts views Thread by ceh | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.