ask for help, recently writing the email function in the project. Is to send an e-mail to the designated mailbox. But now it is found that the newline character looks like it doesn"t work in the mailbox, and it automatically becomes a line. I don"t know how to modify it. The code is as follows:
var emailContent = "Time: \n" + t +
" Id:\n" + id +
" Content:\n " + content;
sendEmail("New content",emailContent);
uses nodemailer. Does n need to be converted to
?