rename mail -> email

This commit is contained in:
proddy
2026-05-05 21:56:55 +02:00
parent 56fc303816
commit 5e1b47707f
20 changed files with 126 additions and 123 deletions

View File

@@ -165,15 +165,15 @@ const ApplicationSettings = () => {
await doRestart();
};
const sendmail = async () => {
const sendemail = async () => {
await sendAPI({
device: 'system',
cmd: 'sendmail',
data: 'testmail',
cmd: 'sendemail',
data: 'Email notification test successful!',
id: 0
})
.then(() => {
toast.success(LL.SUCCESSFUL());
toast.success(LL.TEST_EMAIL_SUCCESSFUL());
})
.catch((error: Error) => {
toast.error(error.message);
@@ -505,9 +505,9 @@ const ApplicationSettings = () => {
variant="outlined"
color="primary"
disabled={dirtyFlags.length !== 0}
onClick={sendmail}
onClick={sendemail}
>
Send Testmail
Send test email
</Button>
</Grid>
</Grid>