By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,057 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,057 IT Pros & Developers. It's quick & easy.

Getting multipart messages from Outlook

P: 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.

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
Share this question for a faster answer!
Share on Google+

Post your reply

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