You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Oleh Astappiev (Jira)" <ji...@apache.org> on 2022/07/14 08:37:00 UTC

[jira] [Created] (LOG4J2-3554) Replace old com.sun.mail:smtp with org.eclipse.angus:angus-smtp project

Oleh Astappiev created LOG4J2-3554:
--------------------------------------

             Summary: Replace old com.sun.mail:smtp with org.eclipse.angus:angus-smtp project
                 Key: LOG4J2-3554
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3554
             Project: Log4j 2
          Issue Type: Improvement
          Components: Web/Servlet
    Affects Versions: 2.18.0
            Reporter: Oleh Astappiev


The old com.sun.mail packages are now obsolete, and we just removed them from our project and replaced by new Jakarta Mail implementation project Eclipse Angus.

 

It would be nice, if we don't need to exclude all the packages manually, but newly added feature uses the latest dependency available.

 

The right dependency to use are:

 
{code:java}
<dependency>
  <groupId>org.eclipse.angus</groupId>
  <artifactId>angus-activation</artifactId>
</dependency>
<dependency>
  <groupId>org.eclipse.angus</groupId>
  <artifactId>smtp</artifactId>
</dependency> {code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)