Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cosullivan authored Mar 11, 2018
1 parent 14cb0dc commit f4c01c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SmtpServer currently supports the following ESMTP extensions:
At its most basic, it only takes a few lines of code for the server to be listening to incoming requests.

```cs
var options = new OptionsBuilder()
var options = new SmtpServerOptionsBuilder()
.ServerName("localhost")
.Port(25, 587)
.Build();
Expand All @@ -31,7 +31,7 @@ await smtpServer.StartAsync(CancellationToken.None);
# What hooks are provided?
There are three hooks that can be implemented; IMessageStore, IMailboxFilter, and IUserAuthenticator.
```cs
var options = new OptionsBuilder()
var options = new SmtpServerOptionsBuilder()
.ServerName("localhost")
.Port(25, 587)
.Port(465, isSecure: true)
Expand Down

0 comments on commit f4c01c1

Please sign in to comment.