node-email icon indicating copy to clipboard operation
node-email copied to clipboard

How can I prevent double quotes from being quoted?

Open soichih opened this issue 10 years ago • 0 comments

I've noticed that the content of body is automatically quote-escaped.

Like.. If I send following email

var Email = require('email').Email
var myMsg = new Email(
{ from: "[email protected]",
to:   "[email protected]"
, subject: "Knock knock..."
, body: "Who's there? \"quote test\""
})

I will receive an email like

Who's there? \"quote test\"

So it looks like node-email is doing unnecessary(?) escaping of the double quotes. How can I prevent this?

soichih avatar Sep 24 '15 19:09 soichih