728x90 AdSpace

Saturday, 7 September 2013

Java Mail API - Introduction

In this tutorials we are going to see introduction about Java Mail API.The Java Mail API used to send email programmatically.Java Mail API is platform and protocol independent API for sending and receiving email programmatically

Java Mail API Protocols

  1. SMTP
  2. POP
  3. IMAP
  4. MIME
  5. NNTP , etc..,


SMTPSimple Mail Transfer protocol.It is used to deliver email, lot of mail server available for sending email but most of host provider provide SMTP as default mail server.The SMTP required authentication to send and receive email.


POP – Post Office Protocol, commonly known as POP3.It is used to receive email.POP3 used to configure individual mail box for each user.It defined in RFC 1939


IMAP – Internet Mail Access Protocol.It also used for receiving email.It is advanced protocol compare to POP3,It provides multiple mail box for each user and also mail box can be shared between multiple user.Its defined in RFC 2060


MIME – Multiple Internet Mail Extension, tells the browser what is being sent in email like attachment, format of email message, etc..,

Other protocols

NNTP – Network News Transfer Protocol

S/MIME – Secure Multipurpose Internet Mail Extension

How to send and receive email using these protocols in upcoming  chapters.

Annamalai Thangaraj

Annamalai is working as Technical Lead in Leading Telecom company with 5+ years experience in Identity and Access Management , Telecom and Networks, BigData, Java, Spring, Struts, Hibernate, AngularJS, and Enterprise Web Application Development.

Website: Java Tutorials Corner

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments


Post a Comment

Item Reviewed: Java Mail API - Introduction Rating: 5 Reviewed By: Annamalai Thangaraj