Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NotificationsYou must be signed in to change notification settings

cmendible/netDumbster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotnetcore

netDumbster

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

Usage

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

Stars

Watchers

Forks

Packages

No packages published

Contributors14


[8]ページ先頭

©2009-2025 Movatter.jp