add smtp to frontend (#2802)

* add smtp to frontend

* left align headers

* just email

* change all to email

* fix test-smtp api

* types

* fix email from and login address handling

---------

Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
Matt Hill
2025-01-14 17:32:19 -07:00
committed by GitHub
parent 5d759f810c
commit e012a29b5e
21 changed files with 389 additions and 21 deletions

View File

@@ -302,9 +302,9 @@ pub fn server<C: Context>() -> ParentHandler<C> {
)
.subcommand(
"test-smtp",
from_fn_async(system::test_system_smtp)
from_fn_async(system::test_smtp)
.no_display()
.with_about("Send test email using system smtp server and credentials")
.with_about("Send test email using provided smtp server and credentials")
.with_call_remote::<CliContext>()
)
.subcommand(