[ 
https://issues.apache.org/jira/browse/LOG4J2-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piotr Karwasz resolved LOG4J2-3362.
-----------------------------------
    Resolution: Fixed

[~awilkinson],

I added a {{log4j-jakarta-smtp}} artifact that should solve your problem and 
generated the corresponding snapshots

You just need to add {{log4j-core}} and {{log4j-jakarta-smtp}} to the classpath 
(together with a Jakarta Mail implementation) and configure the 
{{SMTPAppender}} as usual.

Can you check if it solves your problem?

> Jakarta EE 9 compatible SMTP appender
> -------------------------------------
>
>                 Key: LOG4J2-3362
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3362
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Appenders
>    Affects Versions: 2.17.1
>            Reporter: Andy Wilkinson
>            Assignee: Piotr Karwasz
>            Priority: Major
>             Fix For: 2.17.3
>
>
> This is a follow-on from LOG4J-2978 which addressed Jakarta EE 9 
> compatibility from a web perspective.
> {{SmtpAppender}} uses {{SmtpManager}} which depends upon various 
> {{javax.activation}} and {{javax.mail}} classes from Jakarta EE 8. To allow 
> Log4j 2 to be used in a Jakarta EE 9 environment, an {{SmtpManager}} that 
> uses classes in the new {{jakarta.activation}} and {{jakarta.mail}} packages 
> is required.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to