邮件发送优化

This commit is contained in:
不做码农
2023-06-07 13:41:42 +08:00
parent fdef53f2a5
commit 8f2cc923d9
5 changed files with 32 additions and 60 deletions

View File

@@ -24,10 +24,12 @@ namespace Infrastructure
/// </summary>
public class MailOptions
{
public string From { get; set; }
public string FromName { get; set; }
public string FromEmail { get; set; }
public string Password { get; set; }
public string Smtp { get; set; }
public int Port { get; set; }
public bool UseSsl { get; set; }
public string Signature { get; set; }
}
/// <summary>