feat: allow specifying sender address in email provider settings

This commit is contained in:
Oleh Astappiev
2025-05-19 13:13:23 -06:00
committed by Aditya Chandel
parent b73fb2be5c
commit 4fdd612dc3
10 changed files with 27 additions and 6 deletions
@@ -44,6 +44,11 @@
<p-checkbox formControlName="startTls" [binary]="true"></p-checkbox>
</div>
<div class="flex items-center gap-4">
<label class="w-40 text-right font-medium">From Address:</label>
<input type="text" pInputText formControlName="fromAddress" placeholder="Enter from address... " class="w-full md:w-80"/>
</div>
<div class="flex justify-end">
<p-button label="Create Email Provider" [disabled]="emailProviderForm.invalid" type="submit">
</p-button>
@@ -35,6 +35,7 @@ export class CreateEmailProviderDialogComponent implements OnInit {
port: [null, [Validators.required, Validators.min(1)]],
username: [''],
password: [''],
fromAddress: ['', [Validators.email]],
auth: [false],
startTls: [false]
});