The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ContactConfig.cs 787B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Net.Mail;
  7. namespace Teknik.Configuration
  8. {
  9. public class ContactConfig
  10. {
  11. public bool Enabled { get; set; }
  12. public string Host { get; set; }
  13. public int Port { get; set; }
  14. public string Username { get; set; }
  15. public string Password { get; set; }
  16. public bool SSL { get; set; }
  17. public ContactConfig()
  18. {
  19. SetDefaults();
  20. }
  21. public void SetDefaults()
  22. {
  23. Enabled = true;
  24. Host = string.Empty;
  25. Port = 25;
  26. Username = string.Empty;
  27. Password = string.Empty;
  28. SSL = false;
  29. }
  30. }
  31. }