[MGNLMAIL-63] Upgrade javax.mail to prevent error with TLS Created: 05/Aug/14  Updated: 29/Aug/14  Resolved: 18/Aug/14

Status: Closed
Project: Magnolia Mail Module
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.1

Type: Bug Priority: Major
Reporter: Cedric Reichenbach Assignee: Evzen Fochr
Resolution: Fixed Votes: 0
Labels: quickwin
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MAGNOLIA-5901 Remove dependency on javax.mail Closed
Template:
Patch included:
Yes
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

When trying to send a mail to an SMTP server using TLS, it fails with an error message: javax.mail.MessagingException: [...] Must issue a STARTTLS command first.

This has been seen trying to connect to smtp-mail.outlook.com.

Solution: Simply replacing the mail jar (previously 1.4.1) with version 1.4.5 solved the issue, and quick tests showed no new problems with this change.


Generated at Mon Feb 12 06:03:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.