Are there .NET Framework methods to parse an email (MIME)?

前端 未结 6 1563
遇见更好的自我
遇见更好的自我 2020-12-02 19:12

Is there a class or set of functions built into the .NET Framework (3.5+) to parse raw emails (MIME documents)?

I am not looking for anything fancy or a separate lib

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-02 19:50

    check out our Rebex Secure Mail which includes a (IMHO) decent S/MIME parser. Features include:

    • High level MailMessage API (message as seen in common email client)
    • Low level MimeMessage API (access to S/MIME internal tree)
    • Support for both MIME, S/MIME
    • Support for TNEF (winmail.dat) produced by Microsoft Outlook
    • Message encryption
    • Message signing
    • Unicode and internationalization support
    • Linked resources list (used for inline CSS and pictures in HTML mails)
    • IEnumerable support (needed for LINQ)
    • supports all .NET and .NET compact frameworks released until today

    The parser is part of Rebex Secure Mail and you can download it here.

提交回复
热议问题