芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/reginaeigbe.com/folder/admin/tmp/resources/js/Admin/Pages/Settings/SmtpSettings.jsx
import AdminLayouts from "@/Admin/Layouts/AdminLayouts"; import TextInput from "@/Admin/Components/Inputs/TextInput.jsx"; import { useForm, Head } from "@inertiajs/react"; export default function SmtpSettings({smtp_config}) { const { data, setData, errors, put, processing } = useForm(smtp_config); // update payment gateway configure const handlePublish = (e) => { e.preventDefault(); put(route('admin.settings.smtp.update')); } return (
SMTP Settings
SMTP Details
setData("MAIL_HOST", e.target.value) } />
setData("MAIL_PORT", e.target.value) } />
setData("MAIL_USERNAME", e.target.value) } />
setData("MAIL_PASSWORD", e.target.value) } />
setData("MAIL_ENCRYPTION", e.target.value) } />
setData("MAIL_FROM_ADDRESS", e.target.value) } />
Update
); }