Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
cosullivan committed May 3, 2018
1 parent 14cb0dc commit 22a4448
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Src/SampleApp/Examples/SimpleExample.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Threading;
using System.Net;
using System.Threading;
using SmtpServer;

namespace SampleApp.Examples
Expand All @@ -12,6 +13,7 @@ public static void Run()
var options = new SmtpServerOptionsBuilder()
.ServerName("SmtpServer SampleApp")
.Port(9025)
//.Endpoint(new EndpointDefinitionBuilder().Endpoint(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9025)).Build())
.Build();

var server = new SmtpServer.SmtpServer(options);
Expand Down
4 changes: 2 additions & 2 deletions Src/SampleApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ class Program
{
static void Main(string[] args)
{
//SimpleExample.Run();
SimpleExample.Run();
//SessionTracingExample.Run();
//SessionContextExample.Run();
//SimpleServerExample.Run();
SecureServerExample.Run();
//SecureServerExample.Run();
}

//var cancellationTokenSource = new CancellationTokenSource();
Expand Down

0 comments on commit 22a4448

Please sign in to comment.