outlook-2003

Can I read an Outlook (2003/2007) PST file in C#?

こ雲淡風輕ζ 提交于 2019-11-26 18:11:00
Is it possible to read a .PST file using C#? I would like to do this as a standalone application, not as an Outlook addin (if that is possible). If have seen other SO questions similar to this mention MailNavigator but I am looking to do this programmatically in C#. I have looked at the Microsoft.Office.Interop.Outlook namespace but that appears to be just for Outlook addins. LibPST appears to be able to read PST files, but this is in C (sorry Joel, I didn't learn C before graduating ). Any help would be greatly appreciated, thanks! EDIT: Thank you all for the responses! I accepted Matthew

How to open Outlook new mail window c#

别等时光非礼了梦想. 提交于 2019-11-26 12:11:20
问题 I\'m looking for a way to open a New mail in Outlook window. I need programically fill: from, to, subject, body information, but leave this new mail window open so user can verify content / add something then send as normal Outlook msg. Found that: Process.Start(String.Format( \"mailto:{0}?subject={1}&cc={2}&bcc={3}&body={4}\", address, subject, cc, bcc, body)) But there is no \"From\" option (my users have more than one mailbox...) Any advice(s) ? 回答1: I've finally resolved the issue. Here