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

Upgrade java mail and commons email #1309

Closed
sant0s opened this issue Jul 15, 2019 · 1 comment
Closed

Upgrade java mail and commons email #1309

sant0s opened this issue Jul 15, 2019 · 1 comment
Assignees
Milestone

Comments

@sant0s
Copy link
Contributor

sant0s commented Jul 15, 2019

Play Version

1.5.3

Operating System

Ubuntu 18.04

JDK

Oracle 1.8.0_201-b09

Description

Sending email using the SimpleMail class, as explained in

https://www.playframework.com/documentation/1.5.x/emails

via an SSL-enabled SMTP server fails with

javax.mail.AuthenticationFailedException: 535 Incorrect authentication data

(at least) in a scenario where the password includes special characters.

Keeping the credentials untouched and adding

- com.sun.mail -> javax.mail 1.6.2:
       force: true

to the app's dependencies.yml and executing

play dependencies

fixes the issue.

Therefore, Play's own dependencies.yml's javax.mail version should be upgraded.

While at it, one can also upgrade apache commons email to 1.5.

- org.apache.commons -> commons-email 1.5

@xael-fry
Copy link
Member

Merge and pushed in master
Thanks

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