feat: replace gomail and disable the Email username check for Mailtrap (#1538)

This commit is contained in:
hsluoyz
2023-02-11 15:59:23 +08:00
committed by GitHub
parent 6f7230e949
commit 8b8c866fd2
4 changed files with 16 additions and 10 deletions

View File

@ -118,8 +118,12 @@ export const OtherProviderInfo = {
url: "",
},
"SUBMAIL": {
logo: `${StaticBaseUrl}/img/social_submail.png`,
url: "",
logo: `${StaticBaseUrl}/img/social_submail.svg`,
url: "https://www.mysubmail.com",
},
"Mailtrap": {
logo: `${StaticBaseUrl}/img/email_mailtrap.png`,
url: "https://mailtrap.io",
},
},
Storage: {
@ -839,6 +843,7 @@ export function getProviderTypeOptions(category) {
[
{id: "Default", name: "Default"},
{id: "SUBMAIL", name: "SUBMAIL"},
{id: "Mailtrap", name: "Mailtrap"},
]
);
} else if (category === "SMS") {