[Add] BASE: Configuration to toggle display email name

This commit is contained in:
Horilla
2025-03-18 13:32:05 +05:30
parent 7fa8d3a12a
commit 3c4982ea94
2 changed files with 28 additions and 9 deletions

View File

@@ -1215,6 +1215,12 @@ class DynamicEmailConfiguration(HorillaModel):
is_primary = models.BooleanField(
default=False, verbose_name=_("Primary Mail Server")
)
use_dynamic_display_name = models.BooleanField(
default=True,
help_text=_(
"By enabling this the display name will take from who triggered the mail"
),
)
timeout = models.SmallIntegerField(
null=True, verbose_name=_("Email Send Timeout (seconds)")