-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
APIbackendenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersjestonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source weektesting
Description
📝 Description:
Implement an email template for payment confirmation. The HTML template should be styled and include all relevant payment details. The backend will use Node.js and the fs module to read this template and inject dynamic data into it before sending via email (e.g., using Nodemailer).
📌 Tasks:
- Create a responsive and styled HTML email template paymentEmail.html
Should include the following dynamic placeholders:
{{studentName}}{{studentEmail}}{{Unique_id}}{{amountPaid}}{{discount}}{{dueFee}}{{paymentDate}}{{paymentMethod}}
📧 Email Template Utility
This module enables rendering and testing of dynamic HTML email templates using Node.js.
- Reads HTML templates from the /templates directory
- Replaces placeholder values dynamically
- Exposes a test endpoint (/test-payment-email) for previewing the final HTML
- Integrates with Nodemailer to send the rendered email
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
APIbackendenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersjestonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source weektesting