Sicos1977 / MSGReader

C# Outlook MSG file reader without the need for Outlook
http://sicos1977.github.io/MSGReader
MIT License
475 stars 168 forks source link

.msg to Html transformation issue #369

Closed forhad111 closed 10 months ago

forhad111 commented 11 months ago

Describe the bug When an email has the following head content, it could not read the email and transform email to Html properly. \<head>} {\*\htmltag \<meta http-equiv="Content-Type" content="text/html; charset=utf-8">} {\*\htmltag \</head>} {\*\htmltag

However, if we change header to \<meta charset="utf-8">, then it works properly.

To Reproduce Steps to reproduce the behavior:

  1. Use Aspose Library to create the .msg files. From the MAPI property PR_RTF_COMPRESSED , if we look at the HTML tags where the content type is defined, we see the following:
    \<head>} {\*\htmltag \<meta http-equiv="Content-Type" content="text/html; charset=utf-8">} {\*\htmltag \</head>} {\*\htmltag

  2. Now try to convert the file from .msg to Html

Expected behavior Should be able to transform .msg to Html.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information): OS - Windows 11 Browser - Edge, Chrome, etc Version- All

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Sicos1977 commented 11 months ago

Can you sent me an example MSG file? Please ZIP it before sending it to sicos2002@hotmail.com

forhad111 commented 11 months ago

Hi,

Thanks for reaching out to me. I asked our clients share a file with us. When I get the file, I’ll send it to you.

Thanks, Forhad

On Fri, Sep 29, 2023 at 1:31 AM Kees @.***> wrote:

Can you sent me an example MSG file? Please ZIP it before sending it to @.***

— Reply to this email directly, view it on GitHub https://github.com/Sicos1977/MSGReader/issues/369#issuecomment-1740336432, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQBL6Y2RZ43E2XJFUXMNDLX4ZMKZANCNFSM6AAAAAA5LRFWWE . You are receiving this because you authored the thread.Message ID: @.***>

Sicos1977 commented 10 months ago

No response anymore .... closed