Back

SMTP Server Enabled/Disabled?

  • 0
  • Self Hosted
  • General
Claas.sh
22 Nov, 2024, 16:11

Hey, So I have set a Custom SMTP Server and it said that it successfully updated it but when I try to make a Magic URL via Go-SDK it says "SMTP disabled":

Code to Generate MagicURL:

TypeScript
        Account := appwrite.NewAccount(backend.Client)
        session, err := Account.CreateMagicURLToken(id.Unique(), email)
        if err != nil {
            http.Error(w, err.Error(), http.StatusInternalServerError)
            slog.Error("Error creating session", "error", err)
            return
        }

Did I do something wrong or is there anything else I need to enable

TL;DR
Users are experiencing an issue with SMTP settings even though a custom SMTP server is successfully updated. When trying to generate a Magic URL using Go-SDK, it shows "SMTP disabled." To resolve, developers need to check if the SMTP server is enabled in the system settings.
Claas.sh
22 Nov, 2024, 16:14

here my SMTP Settings

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more