@error("method")
{{ $message }}
@enderror
@include('admin.components.link.custom',[
'class' => "btn--base modal-btn w-100",
'href' => "#test-mail",
'text' => __('Send Mail'),
'permission' => "admin.setup.email.test.mail.send",
])
@include('admin.components.form.input',[
'label' => __("Host")."*",
'name' => 'host',
'value' => old('host',$email_config->host ?? ""),
])
@include('admin.components.form.input',[
'label' => __("Port")."*",
'name' => 'port',
'type' => 'number',
'value' => old('port',$email_config->port ?? ""),
])
@include('admin.components.form.switcher',[
'label' => __("Encryption")."*",
'name' => 'encryption',
'options' => ['SSL' => "ssl",'TLS' => "tls"],
'value' => old('encryption',$email_config->encryption ?? ""),
])
@include('admin.components.form.input',[
'label' => __("Username")."*",
'name' => 'username',
'value' => old('username',$email_config->username ?? ""),
])
@include('admin.components.form.input-password',[
'label' => __('password')."*",
'placeholder' => __('password') ,
'name' => 'password',
'value' => old('password',$email_config->password ?? ""),
])
@include('admin.components.button.form-btn',[
'class' => "w-100 btn-loading",
'text' => __("Update"),
'permission' => "admin.setup.email.config.update",
])