473,413 Members | 2,058 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,413 software developers and data experts.

Saving attachments from outlook express to Sql server table

Hi All,
I want to store all the attachment's name from outlook express to the sql
server database table using C#.
Is there a way around to do this.
Should i use the .psi files for that.
How could i do it.
Could anyone give me a hint, so that i can go to the way.
Thanks in advance.

Vipin Kumar
Apr 10 '06 #1
3 2637
You need to use MAPI and p/invoket to get access to the OutlookExpress data
(u can start from here
http://www.pinvoke.net/default.aspx/mapi32.MAPIReadMail)

After that the way is trivial - get data from OE and save it in SQLServer
Hi All,
I want to store all the attachment's name from outlook express to the sql
server database table using C#.
Is there a way around to do this.
Should i use the .psi files for that.
How could i do it.
Could anyone give me a hint, so that i can go to the way.


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Apr 10 '06 #2
Michael Nemtsev <Mi************@discussions.microsoft.com> wrote:
You need to use MAPI and p/invoket to get access to the OutlookExpress data
(u can start from here
http://www.pinvoke.net/default.aspx/mapi32.MAPIReadMail)


?? Outlook Express isn't an MAPI program and doesn't provide any MAPI
services. As far as I can tell, the only way to access Outlook Express
messages is through reverse-engineering its .dbx file format. I made a
web-page about this:

http://www.wischik.com/lu/programmer/dbx_utils.html

but it's all geared to C++/win32 programming.

--
Lucian
Apr 10 '06 #3
No, OE *has* MAPI support, but unfortunatelly it's only Simple MAPI compliant
http://support.microsoft.com/?kbid=200018.

And if you google u can find the solution how to save attaches with Simple
MAPI.
Michael Nemtsev <Mi************@discussions.microsoft.com> wrote:
You need to use MAPI and p/invoket to get access to the OutlookExpress data
(u can start from here
http://www.pinvoke.net/default.aspx/mapi32.MAPIReadMail)


?? Outlook Express isn't an MAPI program and doesn't provide any MAPI
services. As far as I can tell, the only way to access Outlook Express
messages is through reverse-engineering its .dbx file format. I made a
web-page about this:

http://www.wischik.com/lu/programmer/dbx_utils.html

but it's all geared to C++/win32 programming.


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Apr 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: AspDotNetDeveloper | last post by:
I'm trying to troubleshoot why my ASP application can no longer send file attachments larger than 100K, and I have eliminated many possibilities already, but I'm running out of ideas. I think I...
12
by: Arno R | last post by:
Hi all, This is a repost of a message posted at october 6. The answer I got was about MapiMessages.AttachmentIndex. I think I need the MSMAPI32.OCX to use this. (I don't have this file on my PC)...
5
by: paii, Ron | last post by:
How do I setup a email with attachment for preview but require the user to push the SEND button in Outlook. I have the following function but it sends the email without the sender ever seeing it. ...
2
by: Steve | last post by:
How do you programatically save files that are attached to an email to a specified folder? It could be one file or multiple files attached to the email. Can it be done if Outlook Express is being...
6
by: A.M-SG | last post by:
Hi, I have an aspx page at the web server that provides PDF documents for smart client applications. Here is the code in aspx page that defines content type: Response.ContentType =...
1
by: Vipin Kumar | last post by:
Hi All, I want to store all the attachment's name from outlook express to the sql server database table using C#. Is there a way around to do this. Should i use the .psi files for that. How...
6
by: c_shah | last post by:
how to save outlook email attachments using VB.net?
0
by: Surmaj | last post by:
Hi I have a problem while saving the attachments of the outlook express mails in a local file. I am doing the following tasks. foreach (Object obj in inboxFolder.Items) ...
1
by: =?Utf-8?B?U2VyZW5h?= | last post by:
For some reason .jpg attachments, infact any attachments in outlook express have all of a sudden decieded to take ages to open but if saved on the hard disc they open in a flash. i use Windows XP...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.