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

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.

Content-Type: multipart/related;

Content-Type: multipart/alternative;

Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

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

Content-Type: text/html;
Content-Transfer-Encoding: quoted-printable

@@@@ body in html format


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

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


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

Vo-team mailing list


Plz, clear me this with appropriate code in visual basic

with thanks,
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.