Comments (22)
You are correct, that is not yet implemented due to the lack of spare time :-)
from msgkit.
It's alright, I might have something working here in a bit.. Stay tuned haha.
from msgkit.
Can you give me your name so that I can give you credits for your work?
from msgkit.
from msgkit.
Later this week I will cleanup the code a little bit and expand the demo tool so that users can also create appointments from it. I hope it was not to hard to understand my way of coding :-)
from msgkit.
from msgkit.
Yeah Microsoft has good documentation but some documentation says A and another one says B about the exact same property. It took me some reverse engineering to figure out how to produce a MSG file that Outlook was willing to open. I had to do a lot of attempts before Outlook stopped crashing :-)
I used the structured storage explorer from OpenMCDF (https://github.com/ironfede/openmcdf/tree/master/sources/Structured%20Storage%20Explorer) to compare the MSG files (one that was produced by Outlook and one that I did produce). I also used Outlook Spy to look somewhat deeper into the properties (http://www.dimastr.com/outspy/home.htm)
from msgkit.
from msgkit.
A few years ago I wrote a library to read MSG files (https://github.com/Sicos1977/MSGReader) that uses the IStorage interface to read the E-mails. I was curious if I could write a library that could produce MSG files without using that interface... so I wrote the MSGKit library. One of my goals was to merge the MSGReader library into it and get rid of the IStorage interface so that it also can be used from .NET CORE.
from msgkit.
from msgkit.
There is already a NuGet package, I have to do a little bit of code cleanup and then I will release a new version. I think it will be tomorrow or otherwise this weekend.
from msgkit.
Excellent, in the mean time.. I'm working on figuring out how include groups into the Recipients.
from msgkit.
What I always do if I want to figure something like this out. I make a group in Outlook, add that to an E-mail and look inside the E-mail with OpenMCDF or Outlook Spy.
from msgkit.
I'll give it a go in a bit, I'm just trying to figure out how to Compress the RTF Body first.
from msgkit.
This is how you decompress it... so compressing is just the other way around :-) --> https://github.com/Sicos1977/MSGReader/blob/master/MsgReader/Outlook/RtfDecompressor.cs
But you also can store the RTF message uncompressed in the message file. There is a boolean inside an msg file that just says if the RTF is compressed or not.
from msgkit.
This is probably the compressing method that is used inside an msg file --> https://msdn.microsoft.com/en-us/library/cc463890(v=exchg.80).aspx
from msgkit.
from msgkit.
I just released a new NuGet package
Install-Package MsgKit -Version 1.1.5
from msgkit.
Lookin good. I have this compression code complete (maybe a little refactoring to do). Have to try it out with MsgKit now.
I reused a bit of your CRC32 code.
Not sure if you'd be interested in adding it to MsgKit or rather just keep it as a seperate library.
from msgkit.
Just send me a pull request and I will merge it with MsgKit.
from msgkit.
I have closed this issue, since thanks to you it isn't an issue anymore... please feel free to add comments to this thread to chat :-)
from msgkit.
Sounds good. I have the distributed list contacts working now. Plus a bug fix for RTFCompressor.
Haven't tried sending the email though, going to get my hands on a real distributed list and try sending the generated email before I create a pull request.
from msgkit.
Related Issues (20)
- Issue with third party previewer - fixed HOT 1
- the email body will display garbled characters if it is too long. HOT 3
- how to send msg file after make it HOT 6
- old Version of System.Runtime.Compilerservices.Unsafe.dll HOT 3
- The operation failed HOT 1
- Sent emails show as draft at recipient HOT 13
- Save as Stream is missing the CFBF header when compared to Save as Filename HOT 2
- Rename attachment when open in Outlook HOT 2
- UWP .NET Native build fails HOT 1
- PR_SENSITIVITY property length HOT 2
- Convert EML file with MSG attachment to MSG file, the attachment becomes EML format HOT 2
- Convert EML file with MSG attachment to MSG file, the attachment becomes EML format HOT 2
- Start.Process throws an error. HOT 3
- Open Appointment in Specific Folder/Set Folder within MsgKit HOT 1
- 'Cannot send this meeting request.' when sending appointment msg file in Outlook 2016 and Outlook from Microsoft 365 Apps for enterprise HOT 8
- winmail.dat HOT 4
- "Invalid length of the property stream. Parsing .msg file" HOT 3
- Property PidLidReminderSet has wrong type HOT 1
- Email -> Draft message functionality is not working fine. HOT 1
- Possibility to save file in Sharepoint online - Improvement HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msgkit.