共有 5 個檔案被更改,包括 93 行新增 和 13 行删除
@ -0,0 +1,32 @@
@@ -0,0 +1,32 @@
|
||||
using System; |
||||
using System.Collections.Generic; |
||||
using System.Linq; |
||||
using System.Text; |
||||
using System.Threading.Tasks; |
||||
using System.Net.Mail; |
||||
|
||||
namespace Teknik |
||||
{ |
||||
public class SMTPConfig |
||||
{ |
||||
public string Host { get; set; } |
||||
public int Port { get; set; } |
||||
public string Username { get; set; } |
||||
public string Password { get; set; } |
||||
public bool SSL { get; set; } |
||||
|
||||
public SMTPConfig() |
||||
{ |
||||
SetDefaults(); |
||||
} |
||||
|
||||
public void SetDefaults() |
||||
{ |
||||
Host = string.Empty; |
||||
Port = 25; |
||||
Username = string.Empty; |
||||
Password = string.Empty; |
||||
SSL = false; |
||||
} |
||||
} |
||||
} |
載入中…
新增問題並參考