473,385 Members | 1,597 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1431

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

Similar topics

34
by: Niels Berkers | last post by:
Hi, i'd like to host my web pages using multiparts to reduce the number of hits on the server. i know this isn't a real PHP subject, but i'll try it anyway. i've been searching the web for...
2
by: Damien | last post by:
Hi to all, After hours of attempts and "googling", I'm still pulling my hair off my head when I try to send multipart html emails. It "works" on PCs with Outlook when I juste send a single...
1
by: Peter Krikelis | last post by:
Hi, I am trying to automate the Outlook so that I can get all new messages received and look at them. I have added refference "Microsoft Outlook 10.0 Object Library" and written code: ...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
1
by: Roger | last post by:
All, I have some code that is executed when a "New E-mail" arrives. When executing this code on several different machines I get either the New Message or the Last Message. All machines are...
2
by: Praveen | last post by:
Hi All, I have made a webservice in C# and it works fine in my machine. I ran into a crazy problem when I wanted to deploy it in windows 2003 server. I have run "aspnet_regiis.exe -i" to make...
5
by: Mike P | last post by:
I am trying to get at different users inboxes programmatically (see code below). It works fine, except for the fact that the logon line seems to always logon to my local account rather than...
13
by: Mike P | last post by:
I am trying to get at different users inboxes programmatically (see code below). It works fine, except for the fact that the logon line seems to always logon to my local account rather than...
4
by: ceh | last post by:
Hi, on windows xp I'm using xampp v 1.6.4 I'm trying to send mail. The mail always sends, but the multipart sections are broken. Essentially, I want to send an html email that has a link...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.