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
@@ -41,7 +41,7 @@ export class BookSenderComponent implements OnInit {
this.emailProviderService.getEmailProviders().subscribe({
next: (emailProviders: EmailProvider[]) => {
this.emailProviders = emailProviders.map(provider => ({
label: `${provider.name} | ${provider.host}`,
label: `${provider.name} | ${provider.fromAddress || provider.host}`,
value: provider
}));
}