feat: test SMTP connection with browser parameters (#2986)

This commit is contained in:
DacongDA
2024-06-04 01:34:36 +08:00
committed by GitHub
parent e5f9aab28f
commit 8a79bb64dd
2 changed files with 14 additions and 6 deletions

View File

@ -50,6 +50,7 @@ function testEmailProvider(provider, email = "") {
sender: provider.displayName,
receivers: email === "" ? ["TestSmtpServer"] : [email],
provider: provider.name,
providerObject: provider,
};
return fetch(`${Setting.ServerUrl}/api/send-email`, {