Giter Site home page Giter Site logo

Comments (10)

ojwb avatar ojwb commented on May 26, 2024 1

I found a test file in another github repo which hopefully is suitable:

https://github.com/hrbrmstr/msgxtractr/blob/master/inst/extdata/unicode.msg

For this one perl -Ilib script/msgconvert --verbose of current git master says:

Skipping property 001F:8003 (UNKNOWN): multipart/mixed; boundary="001a113392ecbd ...

from email-outlook-message-perl.

mvz avatar mvz commented on May 26, 2024

@pabs3 thanks for your bug report. To implement this, it would be very helpful to have an example file available. Do you have one that you can share with me?

from email-outlook-message-perl.

pabs3 avatar pabs3 commented on May 26, 2024

Unfortunately the .msg I have cannot be shared publicly and I do not
have access to Outlook in order to generate such a message. In case you
have access to outlook at can convert an mbox to .msg format, I have
attached a sample mbox that should match the .msg I found.

bye,
pabs

http://bonedaddy.net/pabs3/

from email-outlook-message-perl.

pabs3 avatar pabs3 commented on May 26, 2024

Github doesn't seem to support attaching files by email, hopefully it does without JavaScript.

from email-outlook-message-perl.

pabs3 avatar pabs3 commented on May 26, 2024

Sigh, seems to need JavaScript and doesn't support mbox files. Uploaded:

test.mbox.zip

from email-outlook-message-perl.

mvz avatar mvz commented on May 26, 2024

@pabs3 thanks, I'll see what I can do.

from email-outlook-message-perl.

jpadilla avatar jpadilla commented on May 26, 2024

I was also looking for this. Emails can have text/rtf, text/plain, and text/html versions.

from email-outlook-message-perl.

thctlo avatar thctlo commented on May 26, 2024

Ping, any update on this one?

from email-outlook-message-perl.

mvz avatar mvz commented on May 26, 2024

According to the log, the property that stores the multipart/mixed part has ID '8004', which is in the range reserved for user-defined named properties. It's surprising that there isn't also a property containing just the text/html part (ID '1013')

To be able to handle this different property, Email::Outlook::Message needs to support named properties.

I'm afraid I will also need to have some sample .msg file, since the logging doesn't currently include enough information to find the full name for the user-defined named property. Alternatively, the output of oledump when run on the msg file may be enough.

from email-outlook-message-perl.

mvz avatar mvz commented on May 26, 2024

I've looked at the example that @ojwb found and property 001F:8003 is just the content-type and does not contain the full message. That message contains bodies in plain text and RTF format, and the RTF part is RTF-encapsulated HTML. There's already issue #6 about that.

Additionally, I noticed that having RTF as one part of a multipart/alternative content makes it be completely invisible at least to my email reader (Thunderbird).

So, two things need to happen:

  • Render RTF parts as real attachments
  • Convert RTF-encapsulated HTML to HTML and use that instead

from email-outlook-message-perl.

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.