Replies: 1 comment 2 replies
-
Yea, your modification is probably the best way to handle it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @jstedfast ,
thank you for your awesome library!
I use it this library to convert mails to html to display them in a browser.
Today we found e-mails with a
Content-Type: text/calendar; charset="utf-8"; method=REQUEST
section before atext/html
section.At this point:
MimeKit/UnitTests/HtmlPreviewVisitor.cs
Line 177 in f2404c0
we fill a body with an
.ics
file content instead of the actual html content.My first patch would look like this:
where
calenderAttachments
is just a new list ofreadonly List<MimeEntity> calenderAttachments = new List<MimeEntity>();
I would love to know what your thoughts about this calender stuff are.
Kind regards
Tim
Beta Was this translation helpful? Give feedback.
All reactions