Coder Social home page Coder Social logo

Comments (11)

eliottvincent avatar eliottvincent commented on July 21, 2024

Hey! Do you have more information about the Outlook version / OS version?
From what I can see, it looks quite similar to the "New" Outlook 2019.

Furthermore, having the subject of the email would help me a lot.
If possible, could you forward an email from your Outlook Desktop to [email protected]?

from email-forward-parser.

katlim-br avatar katlim-br commented on July 21, 2024

Yes, it is Outlook 2019 Windows Desktop.

Sorry I cannot send an email.

from email-forward-parser.

eliottvincent avatar eliottvincent commented on July 21, 2024

Outlook 2019 is definitely supported.

With Outlook 2019, there's no way to distinguish a forwarded email from a regular replied email (there's no separator).
So you must provide both the email body and the subject in the read() method, to make the detection work correctly.

from email-forward-parser.

katlim-br avatar katlim-br commented on July 21, 2024

so I did, but it did not work all times.

from email-forward-parser.

eliottvincent avatar eliottvincent commented on July 21, 2024

Ok, can you share the body + the subject of a failed detection? I'll investigate on my side.

from email-forward-parser.

katlim-br avatar katlim-br commented on July 21, 2024

It is above, but I can copy it down here


From: Joe Montana <[email protected]>
Sent: Tuesday, January 11, 2022 3:34 PM
To: Mary Montana <[email protected]>
Subject: Pressing matter

Hi

Bye

I dont know if it is important, but the body came as base64 (Outlook 2019 does this) and then we parse the SMTP email and convert it (using mailparser library).

Btw, I'm using
"email-forward-parser": "^1.0.7"

from email-forward-parser.

eliottvincent avatar eliottvincent commented on July 21, 2024

The base64 is not important, as long as you base the decoded body.
I need the subject of the email as well. This is only the body.

from email-forward-parser.

katlim-br avatar katlim-br commented on July 21, 2024

It is there. It is "Pressing matter".

from email-forward-parser.

eliottvincent avatar eliottvincent commented on July 21, 2024

No, this is the original subject.
I need the subject of the parent email. Something like "Fwd: Pressing matter". This is what you need to pass to the read() method to help the detection :)

from email-forward-parser.

katlim-br avatar katlim-br commented on July 21, 2024

it is Fw: Pressing matter.

But then I tested it with sending the root subject, and it worked! Even removing the additional bar that I added as workaround.

So I think that was it.

Thanks!

from email-forward-parser.

eliottvincent avatar eliottvincent commented on July 21, 2024

Yes, passing this "Fw: Pressing matter" subject improves the detection in the case of Outlook 2019.
Glad it's working now!

from email-forward-parser.

Related Issues (14)

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.