MailNotificationOptions.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. namespace GreenTree.Strohrmann.ERP.Services.Notification
  6. {
  7. public class MailNotificationOptions : IMailNotificationOptions
  8. {
  9. #region Properties
  10. /// <summary>
  11. /// The Name from which the mails come from
  12. /// </summary>
  13. public string From { get; set; }
  14. /// <summary>
  15. /// The address of the SMTP server
  16. /// </summary>
  17. public string SmtpServerAddress { get; set; }
  18. /// <summary>
  19. /// The authenticated username on the SMTP server
  20. /// </summary>
  21. public string SmtpServerUsername { get; set; }
  22. /// <summary>
  23. /// The password of the authenticated SMTP server
  24. /// </summary>
  25. public string SmtpServerPassword { get; set; }
  26. /// <summary>
  27. /// The domain of the authenticated SMTP server
  28. /// </summary>
  29. public string SmtpServerDomain { get; set; }
  30. #endregion
  31. }
  32. }