Created: 2011-07-11 21:27
Updated: 2019-01-26 12:00

Build Status Build status


is a .Net Fake SMTP Server clone of the popular Dumbster (

netDumbster is based on the API of nDumbster ( and the nice C# Email Server (CSES) written by Eric Daugherty.



Create a netDumbster Server instance:

var server = SimpleSmtpServer.Start(port);

Check received email count:

var count = server.ReceivedEmailCount

Get the body of the first email received:

var smtpMessage = server.ReceivedEmail[0];
var body = smtpMessage.MessageParts[0].BodyData

Subscribe to the message received event:

server.MessageReceived += (sender, args) =>
        // Get message body.
        var body = args.Message.MessageParts[0].BodyData;
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more