fix(email): support custom SMTP EHLO domains (#11398)

This commit is contained in:
Andras Bacsai
2026-08-19 11:25:46 +02:00
committed by GitHub
parent 9e6afc0408
commit 849ba8f34c
13 changed files with 145 additions and 4 deletions
@@ -113,6 +113,10 @@
@endcan
<x-forms.input canGate="update" :canResource="$settings" id="smtpTimeout" type="number"
helper="Timeout value for sending emails." label="Timeout" />
<x-forms.input canGate="update" :canResource="$settings" id="smtpEhloDomain"
placeholder="coolify.example.com"
helper="Fully qualified domain sent in the SMTP EHLO command. Uses the system default when empty."
label="EHLO domain" />
</div>
</x-application.settings-section>
</div>
@@ -8,7 +8,7 @@
{{-- One bar for the whole page. Three stacked bars made Save run
submitResend(), which required an API key even when Resend was off. --}}
<x-unsaved-bar action="submit"
targets="smtpFromName,smtpFromAddress,smtpHost,smtpPort,smtpEncryption,smtpUsername,smtpPassword,smtpTimeout,resendApiKey" />
targets="smtpFromName,smtpFromAddress,smtpHost,smtpPort,smtpEncryption,smtpUsername,smtpPassword,smtpTimeout,smtpEhloDomain,resendApiKey" />
<form wire:submit="submit">
<x-application.settings-section title="Sender">
@@ -48,6 +48,9 @@
autocomplete="new-password" />
<x-forms.input id="smtpTimeout" type="number"
helper="Maximum delivery time in seconds." label="Timeout" />
<x-forms.input id="smtpEhloDomain" placeholder="coolify.example.com"
helper="Fully qualified domain sent in the SMTP EHLO command. Uses the system default when empty."
label="EHLO domain" />
</div>
</x-application.settings-section>
</form>