• dba

      Moolevel 0

    Hallo!

    Ich habe versucht, E-Mails über NextAuth in meinem NextJS Projekt zu versenden. Dazu wird nodemailer verwendet.
    Mailcow habe ich als Docker laufen und über einen nginx proxy (jwilder) zugänglich gemacht. Zertifikat kommt ebenfalls von diesem.
    Leider schaffe ich es nicht, E-Mails darüber zu versenden. Aktuell läuft dieses Projekt lokal. Ich habe bereits versucht den localhost als Reloyhost in Mailcow zu setzen, leider ohne Erfolg. Auch habe ich auch folgende Ports probiert: 25, 587, 465

    Hat jemand eine Idee?

    Die Fehlermeldung, die mir NextAuth ausspuckt sieht so aus:
    [next-auth][error][SIGNIN_EMAIL_ERROR]
    https://next-auth.js.org/errors#signin_email_error SEND_VERIFICATION_EMAIL_ERROR {
    message: 'SEND_VERIFICATION_EMAIL_ERROR',
    stack: 'Error: SEND_VERIFICATION_EMAIL_ERROR\n' +
    ' at email (/.../node_modules/next-auth/core/lib/email/signin.js:51:11)\n' +
    ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
    ' at async Object.signin (/.../node_modules/next-auth/core/routes/signin.js:96:7)\n' +
    ' at async NextAuthHandler (/.../node_modules/next-auth/core/index.js:185:26)\n' +
    ' at async NextAuthNextHandler (/.../node_modules/next-auth/next/index.js:20:19)\n' +
    ' at async /.../node_modules/next-auth/next/index.js:56:32\n' +
    ' at async Object.apiResolver (/.../node_modules/next/dist/server/api-utils.js:102:9)\n' +
    ' at async DevServer.handleApiRequest (/.../node_modules/next/dist/server/next-server.js:1064:9)\n' +
    ' at async Object.fn (/.../node_modules/next/dist/server/next-server.js:951:37)\n' +
    ' at async Router.execute (/.../node_modules/next/dist/server/router.js:222:32)',
    name: 'Error'
    }

    Die Logindaten stimmen definitiv, Anmelden und Versenden von Mails in E-Mail Clients funktioniert.

    Danke!

    8 days later

    Hi,

    hättest du mal Zeit das ich mir das anschauen kann? Weil bei mir hat es bisher immer funktioniert.

    Mit freundlichen Grüßen
    Florian

    • dba replied to this.

      Have something to say?

      Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

      6 days later
      • dba

          Moolevel 0

        MrVapor Hi sorry die späte Antwort. Sehr gerne!
        Wie kann ich dich kontaktieren?

        Discord: _MrVapor#4214

        • dba replied to this.
          • dba

              Moolevel 0

            MrVapor Du lässt keine Anfragen dort zu. 😅

            jetzt

            No one is typing