2020-11-24 11:12:44 +01:00
|
|
|
<div class="bg-white shadow overflow-hidden rounded-lg mt-6" x-data="{ option: 'log' }">
|
2020-03-26 00:40:09 +01:00
|
|
|
<div class="px-4 py-5 border-b border-gray-200 sm:px-6">
|
|
|
|
<h3 class="text-lg leading-6 font-medium text-gray-900">
|
|
|
|
{{ ctrans('texts.email_settings') }}
|
|
|
|
</h3>
|
|
|
|
<p class="mt-1 max-w-2xl text-sm leading-5 text-gray-500">
|
|
|
|
Let's configure e-mail settings.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<dl>
|
|
|
|
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
|
|
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
|
|
|
{{ ctrans('texts.driver') }}
|
|
|
|
</dt>
|
|
|
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
2020-11-24 11:12:44 +01:00
|
|
|
<select name="mail_driver" class="input w-full form-select" x-model="option">
|
|
|
|
<option value="log">Log</option>
|
2020-03-28 04:46:50 +01:00
|
|
|
<option value="smtp">SMTP</option>
|
|
|
|
<option value="mail">Mail</option>
|
|
|
|
<option value="sendmail">Sendmail</option>
|
2020-03-26 00:40:09 +01:00
|
|
|
</select>
|
|
|
|
</dd>
|
|
|
|
</div>
|
2020-11-24 11:12:44 +01:00
|
|
|
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center" x-show="option != 'log'">
|
2020-03-26 00:40:09 +01:00
|
|
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
|
|
|
{{ ctrans('texts.from_name') }}
|
|
|
|
</dt>
|
|
|
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
2020-05-01 14:18:22 +02:00
|
|
|
<input type="text" class="input w-full" name="mail_name" value="{{ old('mail_name') }}">
|
2020-03-26 00:40:09 +01:00
|
|
|
</dd>
|
|
|
|
</div>
|
2020-11-24 11:12:44 +01:00
|
|
|
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center" x-show="option != 'log'">
|
2020-03-26 00:40:09 +01:00
|
|
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
|
|
|
{{ ctrans('texts.from_address') }}
|
|
|
|
</dt>
|
|
|
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
2020-05-01 14:18:22 +02:00
|
|
|
<input type="email" class="input w-full" name="mail_address" value="{{ old('mail_address') }}">
|
2020-03-26 00:40:09 +01:00
|
|
|
</dd>
|
|
|
|
</div>
|
2020-11-24 11:12:44 +01:00
|
|
|
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center" x-show="option != 'log'">
|
2020-03-26 00:40:09 +01:00
|
|
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
|
|
|
{{ ctrans('texts.username') }}
|
|
|
|
</dt>
|
|
|
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
2020-11-24 11:12:44 +01:00
|
|
|
<input type="text" class="input w-full" name="mail_username" value="{{ old('mail_username') }}" x-show="option != 'log'">
|
2020-03-26 00:40:09 +01:00
|
|
|
</dd>
|
|
|
|
</div>
|
2020-11-24 11:12:44 +01:00
|
|
|
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center" x-show="option != 'log'">
|
2020-03-26 00:40:09 +01:00
|
|
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
|
|
|
{{ ctrans('texts.host') }}
|
|
|
|
</dt>
|
|
|
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
2020-05-01 14:18:22 +02:00
|
|
|
<input type="text" class="input w-full" name="mail_host" value="{{ old('mail_host') }}">
|
2020-03-26 00:40:09 +01:00
|
|
|
</dd>
|
|
|
|
</div>
|
2020-11-24 11:12:44 +01:00
|
|
|
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center" x-show="option != 'log'">
|
2020-03-26 00:40:09 +01:00
|
|
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
|
|
|
{{ ctrans('texts.port') }}
|
|
|
|
</dt>
|
|
|
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
2020-05-01 14:18:22 +02:00
|
|
|
<input type="text" class="input w-full" name="mail_port" value="{{ old('mail_port') }}">
|
2020-03-26 00:40:09 +01:00
|
|
|
</dd>
|
|
|
|
</div>
|
2020-11-24 11:12:44 +01:00
|
|
|
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center" x-show="option != 'log'">
|
2020-03-26 00:40:09 +01:00
|
|
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
|
|
|
{{ ctrans('texts.encryption') }}
|
|
|
|
</dt>
|
|
|
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
2020-05-01 14:18:22 +02:00
|
|
|
<select name="encryption" class="input w-full form-select">
|
2020-03-28 04:46:50 +01:00
|
|
|
<option value="tls">TLS</option>
|
|
|
|
<option value="ssl">SSL</option>
|
2020-03-26 00:40:09 +01:00
|
|
|
</select>
|
|
|
|
</dd>
|
|
|
|
</div>
|
2020-11-24 11:12:44 +01:00
|
|
|
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center" x-show="option != 'log'">
|
2020-03-26 00:40:09 +01:00
|
|
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
2020-03-26 22:43:44 +01:00
|
|
|
{{ ctrans('texts.password') }}
|
2020-03-26 00:40:09 +01:00
|
|
|
</dt>
|
|
|
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
2020-05-01 14:18:22 +02:00
|
|
|
<input type="password" class="input w-full" name="mail_password">
|
2020-03-26 00:40:09 +01:00
|
|
|
</dd>
|
|
|
|
</div>
|
2020-11-24 11:12:44 +01:00
|
|
|
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center" x-show="option != 'log'">
|
2020-03-26 00:40:09 +01:00
|
|
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
2020-10-14 13:40:00 +02:00
|
|
|
<button type="button" class="button button-primary bg-blue-600 py-2 px-3 text-xs" id="test-smtp-connection">
|
2020-03-28 04:46:50 +01:00
|
|
|
{{ ctrans('texts.send_test_email') }}
|
2020-03-26 22:43:44 +01:00
|
|
|
</button>
|
2020-03-26 00:40:09 +01:00
|
|
|
</dt>
|
|
|
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
2020-03-26 22:43:44 +01:00
|
|
|
<div class="alert py-2 bg-gray-50" id="smtp-response"></div>
|
2020-03-26 00:40:09 +01:00
|
|
|
</dd>
|
|
|
|
</div>
|
|
|
|
</dl>
|
|
|
|
</div>
|
2020-10-14 13:40:00 +02:00
|
|
|
</div>
|