Often while we are writing business logic we might come across scenarios where application needs to send emails to customers, for example to inform about the status of delivery in shopping application, To inform users about the status of the long running submitted jobs.
In Such Scenarios, often developers use SMTP server and prepare their own email templates and send emails.