feat: allow specifying sender address in email provider settings
This commit is contained in:
committed by
Aditya Chandel
parent
b73fb2be5c
commit
4fdd612dc3
+5
@@ -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>
|
||||
|
||||
+1
@@ -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]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user