문제

Possible Duplicate:
How can I create an Outlook PST file using .Net?

How can I write an Outlook PST file with headers? Preferably in .NET, though C++ or anything else would be useful too

I have looked at the PST SDK by Microsoft, but it appears to be read only. The only code I have found is the CodeProject article "Writing Email to the File of the PST Format", but this code can't write e-mail headers - just body and subject.

도움이 되었습니까?

해결책

Your best bet is to use Microsoft's Messaging API (MAPI). There's plenty of help available online, and there's a sample app called MFC Mapi that one of the Microsoft guys wrote to demonstrate how the API works.

다른 팁

Would the .pst file format documentation be of use to you? From the brief look I took, it seems to document the format itself, so you can implement reading/writing functionality. I don't know how detailed it is, since I haven't used it myself.

http://msdn.microsoft.com/en-us/library/ff385210%28v=office.12%29.aspx

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top