updated SMTP recommendation

This commit is contained in:
Gani Georgiev
2022-08-15 21:31:25 +03:00
parent 7d10d20de1
commit 04ddae46c9
12 changed files with 182 additions and 180 deletions
+14 -13
View File
@@ -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>
+1 -1
View File
@@ -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);