Sunday 13, Apr 2025
We are moved to new domain
Click -> www.ehowtonow.com
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..,

SMTP

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

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

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

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.

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer

Related Posts:

  • 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 programmat… Read More
  • Sending Simple Email Using Java Mail APIIn this tutorials we are going to see how to send the simple email using java program.I used gmail SMTP server for sending email, you can use any SMTP server(provided by your host provider).The javax.mail.*; package used for … Read More
  • Email Receiver using Java Mail APIIn this tutorials we are going to see how to receive the email using java program.I used gmail SMTP server for receive email, you can use any SMTP server(provided by your host provider).The javax.mail.*; package used for rece… Read More
  • Sending HTML Email using Java Mail APIIn this tutorials we are going to see how to send the HTML email message using Java program.I used gmail SMTP server for sending email, you can use any SMTP server(provided by your host provider).The javax.mail.*; package use… Read More
  • Email Receiver with AttachmentIn this tutorials we are going to see how to receive the email with attachment using java program.I used gmail SMTP server for receive email, you can use any SMTP server(provided by your host provider).The javax.mail.*; packa… Read More
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments

0 comments:

Post a Comment

Item Reviewed: Java Mail API - Introduction Rating: 5 Reviewed By: eHowToNow