One of the Java Mail Service learning: Mail Service overview

Source: Internet
Author: User
Tags nntp

Java can provide mail services: The general understanding of the mail service is to send and receive mail client, but the use of Java to write the mail server;

First, the mail client:

Web apps are commonly used in two ways depending on the API:

The first type: Java Mail API (javax.mail.*) provided in EE

The Javamail API is an optional package (standard extension) for reading, writing, and sending electronic messages that can be used to establish standards-based e-mail clients that support a variety of Internet mail protocols, including SMTP, POP, IMAP, MIME, NNTP, S/MIME, and other protocols.

Second: Spring API (Spring Mail) for Java Mail encapsulation

Second, mail server

Commonly used is Apache James (Java Apache Mail Enterprise Server), completely using pure Java technology development, the implementation of SMTP, POP3 and NNTP and other mail-related protocols. James is a mail application platform that can expand its capabilities through Mailet, such as Mail2sms, Mail2fax, and more. James provides a more complete configuration, especially for the message content store and the user Information Store section, which you can choose to save in a file, database, or other media. James Performance is stable, configurable, open source.

One of the Java Mail Service learning: Mail Service overview

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.