I want to design the mail in HTML when I send the mail using javascript.

Asked 1 years ago, Updated 1 years ago, 62 views

I'm going to send an e-mail to javascript. I want to design an e-mail to send. What should I do?

email jquery javascript

2022-09-22 15:22

1 Answers

If your question is "Is it possible to send an email from the backend (if possible at the front end) with JavaScript code?"...

var mailOptions = {
  from: '[email protected]',
  to: '[email protected]',
  subject: 'Sending Email using Node.js',
  html: '<h1> Welcome</h1><p> That was easy!</p>' //<-- This part is HTML
}


2022-09-22 15:22

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.