method) && $email_config->method != "smtp") style="display: none" @endif>
@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-eye',[
'label' => __('Password')."*",
'placeholder' => 'Password' ,
'name' => 'password',
'value' => old('password',$email_config->password ?? ""),
])
@include('admin.components.form.input',[
'label' => __('Mail From Address')."*",
'placeholder' => __('Mail From Address'),
'name' => 'mail_address',
'value' => old('mail_address',$email_config->from ?? $email_config->mail_address ?? ""),
])