dword-design / nuxt-mail

Adds email sending capability to a Nuxt.js app. Adds a server route, an injected variable, and uses nodemailer to send emails.
Other
247 stars 18 forks source link

TypeError: can't access property "_data", error.response is undefined #258

Open fexell opened 2 weeks ago

fexell commented 2 weeks ago

I'm getting the following error when trying to send from a contact form in Nuxt 3: TypeError: can't access property "_data", error.response is undefined

nuxt.config.ts:

mail: {
    message: {
      to: '***********@***********.com',
    },
    smtp: {
      host: 'smtp.***********.com',
      port: 587,
      auth: {
        user: '***********@***********.com',
        pass: '123***********',
      },
    },
  }

Anyone else having this problem? Is there a way to fix it?

Thanks!