Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

150
Vistas
Nodemailer envelope

I Have strange problem with Nodemailer envelope, My need is to get duplicated email from contact form, one goes to people who fill form and second is myself.

My Code:

    const mailSend = {
        from: 'info@xxx',
        to: req.body.email, 
        subject: `New Message`,
        text: req.body.message,
        envelope: { 
               from: req.body.email, 
               to: 'info@xxx' 
               }

This way when im adding envelope mails are sending only from envelope, but original not, when im deleting envelope, then works as usual. So, to make it work, i just added bcc, but still im wondering what im doing wrong.

So, to make it work, i just added bcc, but still im wondering what im doing wrong. Correct way should be without bcc, but with envelope, but cant make that work.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda