This email service example is a Servlet based service (used javaxmail API). Basic example of developing a emailing service.