forked from datalust/seq-app-htmlemail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use an enum and implement migration from EnableSsl per datalust#89
- Loading branch information
1 parent
98e6047
commit 2700698
Showing
6 changed files
with
71 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using MailKit.Security; | ||
|
||
namespace Seq.App.EmailPlus | ||
{ | ||
public enum TlsOptions | ||
{ | ||
/// <summary> | ||
/// None | ||
/// </summary> | ||
None = SecureSocketOptions.None, | ||
/// <summary> | ||
/// Auto | ||
/// </summary> | ||
Auto = SecureSocketOptions.Auto, | ||
/// <summary> | ||
/// Implicit TLS | ||
/// </summary> | ||
SslOnConnect = SecureSocketOptions.SslOnConnect, | ||
/// <summary> | ||
/// Explicit TLS | ||
/// </summary> | ||
StartTls = SecureSocketOptions.StartTls, | ||
/// <summary> | ||
/// Optional TLS | ||
/// </summary> | ||
StartTlsWhenAvailable = SecureSocketOptions.StartTlsWhenAvailable | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters