[SOLVED] How to create custom template email for spring boot application to generate daily sales report?

Basically It having the scheduler to generator report I have to map to Java Object to email template

Check the below links, there are many resource available, also please, use stackoverflow for such deep programming questions, it’s in rules! I hope you understand. :slightly_frowning_face:


33. Email
33.1. Introduction
33.2. Usage
33.2.1. Basic MailSender and SimpleMailMessage usage
33.2.2. Using the JavaMailSender and the MimeMessagePreparator
33.3. Using the JavaMail MimeMessageHelper
33.3.1. Sending attachments and inline resources
Attachments
Inline resources
33.3.2. Creating email content using a templating library
A Velocity-based example


4 Likes