Closed franciscoGPS closed 6 months ago
I guess you have a message config without to or cc or bcc like the error states. Can you show me your nuxt-mail config?
@dword-design, I'm having the same build error:
Here's my config, I tried adding cc and bcc fields but still getting the error. Any hint on how to fix this ?
[ "nuxt-mail", { message: { to: process.env.EMAIL_TO, cc: process.env.EMAIL_TO, bcc: process.env.EMAIL_TO, }, smtp: { host: "smtp.gmail.com", port: 587, auth: { user: process.env.EMAIL_USER, pass: process.env.EMAIL_PASS, }, }, }, ],
@franciscoGPS @dword-design fixed this by adding the correct variable values in my prod .env file.
message: { to: process.env.EMAIL_TO, cc: process.env.EMAIL_TO, bcc: process.env.EMAIL_TO, },
how to pass from client side in nuxt 3 email 'to' ?
@tim3ks Not possible due to security.
@dword-design
Is this possible with a HTML form, keeping the original "to" e-mail address?
I'm having this error while running an app with nuxt-mail. Is this error known for someone?
Thanks in advance!