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.

--===============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
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.