msg

Read from .msg files

I need to read from Outlook .MSG file in .NET without using COM API for Outlook (cos it will not be installed on the machines that my app will run). Are there any free 3rd party libraries to do that? I want to extract From, To, CC and BCC fields. Sent/Receive date fields would be good if they are also stored in MSG files. ...

What's the best library for reading Outlook .msg files in Java ?

I would like to read the text and binary attachments in a saved Outlook message (.msg file) from a Java application, without resorting to native code (JNI, Java Native Interface). Apache POI-HSMF seems to be in the right direction, but it's in very early stages of development... ...

MAPI: Format of PR_SEARCH_KEY

Does anyone know the format of the MAPI property PR_SEARCH_KEY? The online documentation has this to say about it: The search key is formed by concatenating the address type (in uppercase characters), the colon character ':', the e-mail address in canonical form, and the terminating null character. And the exchange docum...

Automate collection of data from outlook .msg files to excel field

My firewall sends me a notifcation to my email every time a policy is violated. I have about 2500 emails in .msg format that I want to put into one excel document. Basically I am looking for a way to automate processing each .msg file and putting it on a new line in an excel document. All 2500+ .msg files are in a single folder. I un...

MSG stream Id calculation

I'm trying to calculate the stream name for the named property part of an MSG file, specifically string named properties. The MSG file format specification says that the ID is generated as follows: Stream ID = 0x100m ((ID XOR (GUID index << 1 | 1)) MOD 0x1f Where the ID value is the CRC-32 for the "Unicode name identifier". I'm als...

No-MFC equivalent of AfxGetThreadState in vc++

Hi; I am porting a MFC application to Win32 one, I need to get AfxGetThreadState()->m_lastSentMsg value in Win32, I searched but could not find anything, your help is appreciated. ...

Is it possible to save received emails as msg format instead of eml in SharePoint

I have a document library that is enabled to receive emails. However, the email is saved as .eml format, which cannot be opened by Outlook 2003/2007 by default. Is it possible to save the incoming emails as .msg instead? ...

C# Outlook interop and OpenSharedItem for opening MSG files

Is there any tutorial or resource I can follow in order to use the OpenSharedItem outlook interop method. My goal is to read MSG files using it (as it can apparently do so). ...

Is it possible to render the exact same HTML as Outlook does when displaying HTML Body of .msg files?

We are displaying HTML body extracted from .MSG files exported from Outlook. To display the HTML body, one needs to decompress RTF from PR_RTF_Compressed field and then decode the RTF to HTML (outlook actually encodes HTML to RTF when exporting MSG files). We are using RDO library to parse the msg files and extract the HTML body. RDO p...

downloading attached .msg file from the email is not opening

Hello In my program i am retrieving the incoming emails and also downloading the attachments if any which comes along with the email. The problem i am facing is if there is any .msg file (like an outlook email as an attachment) comes than my program is able to download it successfully but the file is not opening. Any inputs on how to ...

save System.Net.mail.MailMessage as .msg file

Hi, I am building an application where i am obligated to create a MailMessage (System.Net.mail.MailMessage) and save it on the disk as .msg extention not .eml Below is the method i'm using to save a MailMessage as .msg file: public static void Save(MailMessage Message, string FileName) { Assembly assembly = typeof(SmtpC...

How do I read a .msg Outlook attachment in Outlook VBA/Scripting?

Hi, I've got a script that's trying to open text attachments and append them to the message body. I have it working for text documents but I ideally need it working for .msg attachments too. At the moment it just doesn't read the object. Can anyone help? Thanks! Sub RunAScriptRuleRoutine(MyMail As MailItem) Dim strID As String Dim ...

ui:msg with Dictionary in GWT

Hi Is it possible to use ui:msg with a Dictionary or a custom HashMap in GWT? If so how? Thanks A ...