SMTP and IMAP server library for .NET

前端 未结 5 1719
后悔当初
后悔当初 2020-12-25 15:10

Does anyone know a good SMTP/IMAP server library for C#?

I only found some long abandoned projects.


Only SERVER SIDE libraries, please

5条回答
  •  一个人的身影
    2020-12-25 15:44

    I am working on a project where I need to receive a mail via SMTP on the local network (a legacy application is sending a mail for integration purposes). Originally, I was going to use the SMTP server in IIS and use event sinks but that seems a little heavy-handed. I am currently evaluating the following 3 candidate libraries:

    nDumbster: Open source but not a fully-implemented server. Originally used for unit tests. It parses the mail to an object for easy inspection. I had to revise it to raise an event when a message was received.

    SmtpServer: Modern design using .NET TPL and Implements STARTTLS. Source code does not seem readily available. Provides a few hooks when message is received but appears to hand you the message contents as a blob. (I didn't get to test this as it requires .net 4.5)

    Rnwood.SmtpServer: Looks to be full-featured and source code is available although documentation is lacking.

提交回复
热议问题