The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627
  1. namespace Teknik.Configuration
  2. {
  3. public class EmailAccount
  4. {
  5. public string EmailAddress { get; set; }
  6. public string Host { get; set; }
  7. public int Port { get; set; }
  8. public string Username { get; set; }
  9. public string Password { get; set; }
  10. public bool SSL { get; set; }
  11. public EmailAccount()
  12. {
  13. SetDefaults();
  14. }
  15. public void SetDefaults()
  16. {
  17. EmailAddress = string.Empty;
  18. Host = string.Empty;
  19. Port = 25;
  20. Username = string.Empty;
  21. Password = string.Empty;
  22. SSL = false;
  23. }
  24. }
  25. }