When an order is created, we should send a email with order information to the customer's email.
Add a new email folder within the service/src/infrastructure folder that contains any code you write relating to sending emails.
You are permitted to achieve this goal using any libraries you'd like. If you're not sure where to get started, check out this guide that showcases how you can use nodemailer with gmail to send emails for free.
Acceptance Criteria:
When an order is created, an email containing order information is sent to the customer's email.
Description:
When an order is created, we should send a email with order information to the customer's email.
Add a new
email
folder within theservice/src/infrastructure
folder that contains any code you write relating to sending emails.You are permitted to achieve this goal using any libraries you'd like. If you're not sure where to get started, check out this guide that showcases how you can use
nodemailer
with gmail to send emails for free.Acceptance Criteria:
When an order is created, an email containing order information is sent to the customer's email.