Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update JavaMail dependency to 1.6.2, adding support for authenticated HTTP web proxy #186

Closed
bbottema opened this issue Dec 3, 2018 · 3 comments

Comments

@bbottema
Copy link
Owner

bbottema commented Dec 3, 2018

In JavaMail 1.6.0 HTTP proxy support was added and in 1.6.2 authentication was added as well. Simple Java Mail should support this in the builder API as well.

JavaMail has moved btw:
Project home: https://eclipse-ee4j.github.io/javamail/
Code home: https://github.com/eclipse-ee4j/javamail

The following properties are concerned:

property type description
mail.smtp.proxy.host string Specifies the host name of an HTTP web proxy server that will be used for connections to the mail server.
mail.smtp.proxy.port string Specifies the port number for the HTTP web proxy server. Defaults to port 80.
mail.smtp.proxy.user string Specifies the user name to use to authenticate with the HTTP web proxy server. By default, no authentication is done.
mail.smtp.proxy.password string Specifies the password to use to authenticate with the HTTP web proxy server. By default, no authentication is done.

SOCKS authentication is still not supported by JavaMail, so Simple Java Mail's SOCKS (v5) authentication is still relevant.

@bbottema bbottema added this to the 6.0.0 milestone Dec 3, 2018
@bbottema bbottema changed the title Simple Java Mail should support javax.mail's new authenticated HTTP web proxy capability Update JavaMail dependency to 1.6.2, adding support for authenticated HTTP web proxy Dec 3, 2018
@Flashky
Copy link

Flashky commented Dec 24, 2018

Oh god, I need this so much 👍

Thank you for your efforts!
Besides this, I have a question about license, if I'm my project I'm using your SimpleJavaMail library, do I have to mention the license? or just if I modify it?

At least, for now I mention you on my README.md to give you credit for this awesome library. :)

@bbottema
Copy link
Owner Author

Hi @Flashky, please refer to https://tldrlegal.com/license/apache-license-2.0-(apache-2.0) on the right side under Must.

bbottema added a commit that referenced this issue Dec 31, 2018
…nd support for authenticated HTTP web proxy
@bbottema
Copy link
Owner Author

Updated javax.mail version for upcoming release 6.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants