updated SMTP recommendation
This commit is contained in:
@@ -149,23 +149,24 @@
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="content m-b-sm">
|
||||
<p>
|
||||
By default PocketBase uses the OS <code>sendmail</code> command for sending emails.
|
||||
<br />
|
||||
<strong class="txt-bold">
|
||||
For better emails deliverability it is recommended to enable the SMTP settings
|
||||
below.
|
||||
</strong>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<Field class="form-field form-field-toggle" let:uniqueId>
|
||||
<Field class="form-field form-field-toggle m-b-sm" let:uniqueId>
|
||||
<input type="checkbox" id={uniqueId} required bind:checked={formSettings.smtp.enabled} />
|
||||
<label for={uniqueId}>Use SMTP mail server</label>
|
||||
</Field>
|
||||
|
||||
{#if formSettings.smtp.enabled}
|
||||
{#if !formSettings.smtp.enabled}
|
||||
<div class="content" transition:slide|local={{ duration: 150 }}>
|
||||
<p>
|
||||
By default PocketBase uses the OS <code>sendmail</code> command for sending
|
||||
emails.
|
||||
<br />
|
||||
<strong class="txt-bold">
|
||||
For better emails deliverability it is recommended to use a SMTP mail server.
|
||||
</strong>
|
||||
</p>
|
||||
<div class="clearfix m-t-lg" />
|
||||
</div>
|
||||
{:else}
|
||||
<div class="grid" transition:slide|local={{ duration: 150 }}>
|
||||
<div class="col-lg-6">
|
||||
<Field class="form-field required" name="smtp.host" let:uniqueId>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
--warningColor: #ff8e3c;
|
||||
--warningAltColor: #ffe7d6;
|
||||
|
||||
--overlayColor: rgba(70, 82, 110, 0.3);
|
||||
--overlayColor: rgba(70, 82, 105, 0.25);
|
||||
--tooltipColor: rgba(0, 0, 0, 0.85);
|
||||
--shadowColor: rgba(0, 0, 0, 0.05);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user