Spring + Quartz + JavaMail Integration Tutorial

Quartz is a job scheduling framework which is used to schedule the jobs to be executed on the specified time schedule.JavaMail is an API to send/recieve emails from Java Applications. Spring has integration points to integrate Quartz and JavaMail which makes easy to use those APIs. Lets create a small demo application to show how […]

Read More

Sending Email with Attachments using JavaMail

We can send emails using JavaMail API. Instead of directly using JavaMail API here is a small utility to send emails which shields the user from JavaMail internals. EmailConfiguration.java package com.sivalabs.email;import java.util.Properties;public class EmailConfiguration{ private Properties properties = new Properties(); public static final String SMTP_HOST = “mail.smtp.host”; public static final String SMTP_AUTH = “mail.smtp.auth”; public […]

Read More