|
@@ -17,7 +17,7 @@ import { |
|
|
import { Tab, Tabs, TabsProps, Typography } from "@mui/material"; |
|
|
import { Tab, Tabs, TabsProps, Typography } from "@mui/material"; |
|
|
import TimesheetMailDetails from "./TimesheetMailDetails"; |
|
|
import TimesheetMailDetails from "./TimesheetMailDetails"; |
|
|
import { Error } from "@mui/icons-material"; |
|
|
import { Error } from "@mui/icons-material"; |
|
|
import { MailSave, saveMail, testEveryone, test7th, test15th } from "@/app/api/mail/actions"; |
|
|
|
|
|
|
|
|
import { MailSave, saveMail, testEveryone, test7th, test15th, testEmail } from "@/app/api/mail/actions"; |
|
|
import SettingDetails from "./SettingDetails"; |
|
|
import SettingDetails from "./SettingDetails"; |
|
|
import { errorDialog, submitDialog, successDialog } from "../Swal/CustomAlerts"; |
|
|
import { errorDialog, submitDialog, successDialog } from "../Swal/CustomAlerts"; |
|
|
|
|
|
|
|
@@ -95,10 +95,12 @@ const MailSetting: React.FC<Props> = ({ |
|
|
try { |
|
|
try { |
|
|
// msg = "testEveryone" |
|
|
// msg = "testEveryone" |
|
|
// await testEveryone() |
|
|
// await testEveryone() |
|
|
msg = "test7th" |
|
|
|
|
|
await test7th() |
|
|
|
|
|
|
|
|
// msg = "test7th" |
|
|
|
|
|
// await test7th() |
|
|
// msg = "test15th" |
|
|
// msg = "test15th" |
|
|
// await test15th() |
|
|
// await test15th() |
|
|
|
|
|
msg = "testEmail" |
|
|
|
|
|
await testEmail() |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|
console.log(error) |
|
|
console.log(error) |
|
|
console.log(msg) |
|
|
console.log(msg) |
|
|