How to dynamically send email content on EJS email template getting data from the database and send the email to clients based on the payment option(full payment and half payment) which they choose during their service bookings. It should check if the data that is coming from the database is half payment and send the half payment content to the client and if is full payment, it should send the full payment content to the client. using Nodejs and Mongodb
I have tried obtaining data to populate my ejs email templates but it does not seem to work
REBECCA WANJIRU is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.