Email is now Built-in! (#2635)
This commit is contained in:
parent
2a539da24c
commit
a85644fb6b
55 changed files with 5129 additions and 1047 deletions
20
API/DTOs/Settings/SMTPConfigDto.cs
Normal file
20
API/DTOs/Settings/SMTPConfigDto.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
namespace API.DTOs.Settings;
|
||||
|
||||
public class SmtpConfigDto
|
||||
{
|
||||
public string SenderAddress { get; set; } = string.Empty;
|
||||
public string SenderDisplayName { get; set; } = string.Empty;
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
public string Password { get; set; } = string.Empty;
|
||||
public string Host { get; set; } = string.Empty;
|
||||
public int Port { get; set; } = 0;
|
||||
public bool EnableSsl { get; set; } = true;
|
||||
/// <summary>
|
||||
/// Limit in bytes for allowing files to be added as attachments. Defaults to 25MB
|
||||
/// </summary>
|
||||
public int SizeLimit { get; set; } = 26_214_400;
|
||||
/// <summary>
|
||||
/// Should Kavita use config/templates for Email templates or the default ones
|
||||
/// </summary>
|
||||
public bool CustomizedTemplates { get; set; } = false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue