Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29905

Nodemailer: Make a "Reply all" equivalent using only code, is that possible?

$
0
0

I'm using Nodemailer and Gmail, and I would like to know if I can make an almost exactly like "reply all" using only code, as I can do myself using my gmail without coding

I read the documentation and searched the internet a lot for an equivalent question and I didn't find it

I keep the "Message-ID" and "Subject" of all e-mails I want to reply to, but I want to make a "reply all" just like gmail do (with a copy of the last e-mail text below the new message and all the original email addresses in "to" and "cc" fields automatically)

Is this possible with the Node code?

I'm trying something like this in "Message configuration":

var mailOptions = {
      subject: "Re: " + emailSubject, 
      messageId: emailMessageId,
      inReplyTo: emailMessageId, 
      references: emailMessageId,
      headers: { 
        replyTo: someEmailAddress, 
        messageId: emailMessageId, 
      }, 
      [...]
}

Viewing all articles
Browse latest Browse all 29905

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>