Giter Site home page Giter Site logo

Comments (22)

Sicos1977 avatar Sicos1977 commented on June 12, 2024

You are correct, that is not yet implemented due to the lack of spare time :-)

from msgkit.

seeker25 avatar seeker25 commented on June 12, 2024

It's alright, I might have something working here in a bit.. Stay tuned haha.

from msgkit.

Sicos1977 avatar Sicos1977 commented on June 12, 2024

Can you give me your name so that I can give you credits for your work?

from msgkit.

seeker25 avatar seeker25 commented on June 12, 2024

from msgkit.

Sicos1977 avatar Sicos1977 commented on June 12, 2024

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.

seeker25 avatar seeker25 commented on June 12, 2024

from msgkit.

Sicos1977 avatar Sicos1977 commented on June 12, 2024

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.

seeker25 avatar seeker25 commented on June 12, 2024

from msgkit.

Sicos1977 avatar Sicos1977 commented on June 12, 2024

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.

seeker25 avatar seeker25 commented on June 12, 2024

from msgkit.

Sicos1977 avatar Sicos1977 commented on June 12, 2024

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.

seeker25 avatar seeker25 commented on June 12, 2024

Excellent, in the mean time.. I'm working on figuring out how include groups into the Recipients.

from msgkit.

Sicos1977 avatar Sicos1977 commented on June 12, 2024

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.

seeker25 avatar seeker25 commented on June 12, 2024

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.

Sicos1977 avatar Sicos1977 commented on June 12, 2024

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.

Sicos1977 avatar Sicos1977 commented on June 12, 2024

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.

seeker25 avatar seeker25 commented on June 12, 2024

from msgkit.

Sicos1977 avatar Sicos1977 commented on June 12, 2024

I just released a new NuGet package

Install-Package MsgKit -Version 1.1.5

from msgkit.

seeker25 avatar seeker25 commented on June 12, 2024

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.

Sicos1977 avatar Sicos1977 commented on June 12, 2024

Just send me a pull request and I will merge it with MsgKit.

from msgkit.

Sicos1977 avatar Sicos1977 commented on June 12, 2024

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.

seeker25 avatar seeker25 commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.