- Notifications
You must be signed in to change notification settings - Fork40
cmendible/netDumbster
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
netDumbster is a .Net Fake SMTP Server clone of the popularDumbster.
netDumbster is based on the API ofnDumbster (http://ndumbster.sourceforge.net/default.html) and the nice C# Email Server (CSES) written by Eric Daugherty.
License:http://www.apache.org/licenses/LICENSE-2.0.html
Create a netDumbster Server instance:
usingvarserver=SimpleSmtpServer.Start(port);
Check received email count:
varcount=server.ReceivedEmailCount
Get the body of the first email received:
varsmtpMessage=server.ReceivedEmail[0];varbody=smtpMessage.MessageParts[0].BodyData
Subscribe to the message received event:
server.MessageReceived+=(sender,args)=>{// Get message body.varbody=args.Message.MessageParts[0].BodyData;};
About
netDumbster is a .Net Fake SMTP Server clone of the popular Dumbster
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors14
Uh oh!
There was an error while loading.Please reload this page.