Questions tagged [msg]

"msg" is the extension of Microsoft Outlook message files

MSG is the extension of Microsoft Outlook message files, that is a proprietary format different from the more popular EML files.

You should use the msg tag to identify questions related to Microsoft Outlook Messages (.msg) file processing.

280 questions
3
votes
1 answer

How to pass parameters to a .msg file?

I have found how to send parameters to the outlook.exe file to create a new message, add an address, a subject, and a body of text: Run "C:\Program Files (x86)\Microsoft Office\Office14\outlook.exe" /c ipm.note /m…
Fuzz Evans
  • 2,893
  • 11
  • 44
  • 63
3
votes
1 answer

PST handling using Ruby

I am in the process of writing some code to extract information about the contents of PST files such as the total messages, sub folder listing, number of messages per folder, email subject name and sent/received date for each message. It is a work…
Craig Hendley
  • 239
  • 2
  • 4
  • 14
2
votes
3 answers

Sending email from a file on android

I am working on some application, which will be running on offline pc. This application should prepare some email to the file (txt, eml, msg,..). The file should contain the subject, the text and ideally also an attachment or path to the…
Meloun
  • 13,601
  • 17
  • 64
  • 93
2
votes
1 answer

How to save email messge item generated using exchangelib library in python

I have used exchangelib library to download emails from my Inbox. The messages are eventually instance of exchangelib.items.Message. I want to save this entire email as .msg file so that I can later attach it to some the application. Can someone…
pbdscoder
  • 33
  • 4
2
votes
2 answers

How to msg only the file path in ansible?

This is my ansible: - name: finding files find: paths: /etc/nginx patterns: '{{ my_vhost }}' recurse: "yes" file_type: "file" delegate_to: '{{ my_server }}' register: find_result - name: output the…
CzipO2
  • 403
  • 1
  • 6
  • 15
2
votes
2 answers

Is there a way to use Python Win32com module to read any local PST file and export messages as MSG files?

I am working on a two stages Digital Forensics project, and on stage one, I need to extract all the messages stored on several outlook's PST/OST files, and save them as MSG files in a folder hierarchy like pstFilename\inbox, draft, sent... for each…
HIC
  • 21
  • 1
  • 4
2
votes
3 answers

How to print .MSG into PDF

I have 1000 emails (in .msg format) and I'd like to convert those to PDF files. Reading .MSG file has already been asked here. But the problem for me is to print .msg emails as you do from "File -> Print". Is there a simple way to print .msg emails…
dance2die
  • 35,807
  • 39
  • 131
  • 194
2
votes
1 answer

Upload .msg file to Exchange Server using EWS Managed API

I have found several examples of downloading an email message from a MS Exchange server and saving it to a file. I need the opposite. From a ".msg" file I need to create an email message inside a specific folder of the server. I found this…
VBobCat
  • 2,527
  • 4
  • 29
  • 56
2
votes
1 answer

Display a .msg file using WPF in C#

I am currently designing and implementing an application whereby a user can preview and classify emails (amongst other features). I wish to create a 'preview' of the email message which is in a .msg file format and display it to the user. I am…
Candyfloss
  • 3,848
  • 4
  • 31
  • 32
2
votes
1 answer

Opening Mime content in Outlook

I'm looking for a way to get outlook to open a Mime message? It should be possible I just can't seem to find anywhere with examples on how to do it... Currently we get the mime content and then use Redemption to create a .msg file and then launch…
Seph
  • 8,472
  • 10
  • 63
  • 94
2
votes
0 answers

Extract .msg files having .eml files as attachment in python?

I am using Olefile to analyse a .msg file having .eml files as attachments. I am able to get the final streams that is the contents of the attached .eml files. But I wan to save the attachment as a whole for further processing aby another…
2
votes
1 answer

save .msg format file with exchange web services managed API

I'm trying to use Exchange Web Services Managed API 1.1 to connect to Exchange and then find out if an email has been sent or received and save a copy of the .msg file to a folder on the disk. So far, I have the following code Dim service As New…
Seph
  • 8,472
  • 10
  • 63
  • 94
2
votes
2 answers

Convert MailItem to MSG in memory rather than filesystem

At the moment I am base64 encoding a mailItem by writing the mailItem to an MSG file with this: mailItem.SaveAs(@"c:\path\to\save\mail.msg", Outlook.OlSaveAsType.olMSG); FileStream fs = new FileStream( fullPath, FileMode.Open, FileAccess.Read ); …
Platinum Fire
  • 502
  • 3
  • 10
2
votes
4 answers

Msg * in batch needs new line how?

Im running the following code snipet Msg * "Hoi %username%, je kunt nu alle vensters sluiten en AutoCAD opniew opstarten" but i want a new line after %username% how can i achieve this? EDDIT: ECHO PROOF OF FILE EXECUTION: > "%username%'s proof…
batchboy
  • 21
  • 1
  • 1
  • 2
2
votes
1 answer

VSTO (Outlook) is forcing MSG attachments to be of olEmbeddeditem type, but olByValue needed

I need to send email with .msg file attached to Lotus Notes (Domino) by using VSTO (from Outlook Add-In). When this file is received in Lotus Notes, the email body from msg file is appended to the end of the main mail. From this problem I am…
1 2
3
18 19