Saving attachments from outlook express to Sql server table

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
Michael Nemtsev said:
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.
 
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.
?? 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top