MIME parsing libraries

Forum for things that doesn't really have anything to do with hMailServer. Such as php.ini, beer, etc etc.
Post Reply
appzguycoder
New user
New user
Posts: 23
Joined: 2014-06-18 19:53

MIME parsing libraries

Post by appzguycoder » 2014-11-25 19:45

FYI,

I've been doing a lot of C# coding using the COM API. While doing such I ran across a great MIME parser I have been using. It basically let's me load up an EML file from hMailServer and get information like the TO, CC with the display name and email address parsed out.

If it helps anyone else, here are the libraries:

.NET version: https://github.com/jstedfast/MimeKit
C/C++ version: http://spruce.sourceforge.net/gmime/

From the looks of it, the library does a great job of parsing multipart emails. May be something to consider for internal hMailServer use in parsing multipart messages.

The author also made a .NET mail client, https://github.com/jstedfast/MailKit

steveh81
New user
New user
Posts: 2
Joined: 2020-08-20 10:11

Re: MIME parsing libraries

Post by steveh81 » 2020-08-26 18:15

Could you paste an example of how you are parsing the hMailServer message to the MimeKit.MimeMessage object?

Post Reply