Use JavaMail or use a commercial component?

If reading and parsing emails via Pop is an important part of my application, it would be wise to go with a commercial email or JavaMail component, what do I really need?

My use: I want to connect to pop3, ssl support, as well as imap support.

I intend to display email in a web browser as well as email web client.

+4
source share
3 answers

JavaMail is open source . You can use this as the basis for your own project if you need to cheer it up.

If you want to use something commercial, make sure you have a source if you need to configure it for local needs.

+3
source

Commons Email provides only email sending functions, not parsing.

JavaMail should be fine for what you are trying to do, but it can be a little yucky in places and incredibly strict in terms of RFC compliance. You will find that email clients do not necessarily fully comply with the specification, so the problem will be handling extreme cases and oddities in terms of incoming emails.

It provides support for POP and IMAP over SSL, for more details, refer to the API:

http://java.sun.com/products/javamail/javadocs/index.html

+2
source

You can see IPWorks depending on your budget! and IPWorks! SSL: http://www.nsoftware.com/portal/java/

They are definitely expensive, but much nicer to work with JavaMail, and if you're stuck, they really have decent support.

+1
source

Source: https://habr.com/ru/post/1299280/


All Articles