Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
`SimpleSmtpServer` implements `IDisposable`, so `using` before `var` is required in order the server to be stopped automatically.
  • Loading branch information
artur-intech authored and cmendible committed Jan 10, 2024
1 parent ca88740 commit 8b3bd53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ License: http://www.apache.org/licenses/LICENSE-2.0.html

Create a netDumbster Server instance:
````
var server = SimpleSmtpServer.Start(port);
using var server = SimpleSmtpServer.Start(port);
````

Check received email count:
Expand Down

0 comments on commit 8b3bd53

Please sign in to comment.