Add 'from_name' field to SMTP settings and update email sending logic

- Introduced a new 'from_name' field in the SMTP settings to allow users to specify a sender name.
- Updated the dashboard template to include an input for the sender name.
- Modified the email sending logic to format the 'From' header with the sender name if provided, enhancing email presentation.
This commit is contained in:
smueller
2026-07-07 16:00:22 +02:00
parent 0e37dac816
commit f2cfe8de3e
3 changed files with 11 additions and 1 deletions

View File

@@ -253,6 +253,9 @@
<input type="password" name="password" value="{{ smtp.password }}">
</label>
</div>
<label>Absender-Name
<input type="text" name="from_name" value="{{ smtp.from_name }}" placeholder="Thomas-Krenn Wiki-Team">
</label>
<div class="form-row">
<label>Absender E-Mail
<input type="email" name="from_email" value="{{ smtp.from_email }}">