From 32e6b6a6cca320475daef89a051df214156ffbca Mon Sep 17 00:00:00 2001 From: Flomp Date: Wed, 4 Feb 2026 02:26:49 -0800 Subject: [PATCH] fix/pocketbase-smtp-sender-address-spelling (#769) Co-authored-by: Christian Beutel <> --- db/main.go | 2 +- docs/src/content/docs/run/environment-configuration.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/main.go b/db/main.go index 5e07d066..ab580329 100644 --- a/db/main.go +++ b/db/main.go @@ -977,7 +977,7 @@ func onBootstrapHandler() func(se *core.BootstrapEvent) error { if v := os.Getenv("ORIGIN"); v != "" { e.App.Settings().Meta.AppURL = v } - if v := os.Getenv("POCKETBASE_SMTP_SENDER_ADRESS"); v != "" { + if v := os.Getenv("POCKETBASE_SMTP_SENDER_ADDRESS"); v != "" { e.App.Settings().Meta.SenderAddress = v } if v := os.Getenv("POCKETBASE_SMTP_SENDER_NAME"); v != "" { diff --git a/docs/src/content/docs/run/environment-configuration.md b/docs/src/content/docs/run/environment-configuration.md index c3775371..cd14daab 100644 --- a/docs/src/content/docs/run/environment-configuration.md +++ b/docs/src/content/docs/run/environment-configuration.md @@ -27,7 +27,7 @@ Since we use an unmodified installation of meilisearch you can use all variables | POCKETBASE_ENCRYPTION_KEY | Valid 32 character AES key. Used to encrypt secrets | | | POCKETBASE_CRON_SYNC_SCHEDULE | Valid cron expression. Sets how often trails are synced from 3rd party integrations | 0 2 * * * | | POCKETBASE_SMTP_ENABLED | Enables or disables SMTP functionality. Accepted values are true or false | false | -| POCKETBASE_SMTP_SENDER_ADRESS | The email address used as the "From" address in outgoing emails | | +| POCKETBASE_SMTP_SENDER_ADDRESS | The email address used as the "From" address in outgoing emails | | | POCKETBASE_SMTP_SENDER_NAME | The display name shown as the sender in outgoing emails | | | POCKETBASE_SMTP_HOST | The hostname or IP address of the SMTP server | | | POCKETBASE_SMTP_PORT | The port number used to connect to the SMTP server | |