diff --git a/modules/batch-module/pom.xml b/modules/batch-module/pom.xml index 5ccf1331..6f3319d4 100644 --- a/modules/batch-module/pom.xml +++ b/modules/batch-module/pom.xml @@ -34,7 +34,7 @@ org.simplejavamail smtp-connection-pool - 2.2.0 + 2.3.0 diff --git a/modules/core-module/pom.xml b/modules/core-module/pom.xml index 6e7487ff..e0c31141 100644 --- a/modules/core-module/pom.xml +++ b/modules/core-module/pom.xml @@ -45,14 +45,15 @@ - com.sun.mail - jakarta.mail - 2.0.1 + jakarta.mail + jakarta.mail-api + 2.1.2 - com.sun.activation - jakarta.activation - 2.0.1 + org.eclipse.angus + angus-mail + 2.0.2 + runtime diff --git a/modules/dkim-module/pom.xml b/modules/dkim-module/pom.xml index 8aa54a49..eceb0e18 100644 --- a/modules/dkim-module/pom.xml +++ b/modules/dkim-module/pom.xml @@ -34,7 +34,7 @@ org.simplejavamail utils-mail-dkim - 3.0.0 + 3.1.0 diff --git a/modules/simple-java-mail/pom.xml b/modules/simple-java-mail/pom.xml index 2a5c4a60..ece0b9b0 100644 --- a/modules/simple-java-mail/pom.xml +++ b/modules/simple-java-mail/pom.xml @@ -80,7 +80,7 @@ com.github.davidmoten subethasmtp - 6.0.1 + 6.0.7 test diff --git a/modules/simple-java-mail/src/main/java/org/simplejavamail/converter/internal/mimemessage/ImmutableDelegatingSMTPMessage.java b/modules/simple-java-mail/src/main/java/org/simplejavamail/converter/internal/mimemessage/ImmutableDelegatingSMTPMessage.java index 2b27251f..421a3780 100644 --- a/modules/simple-java-mail/src/main/java/org/simplejavamail/converter/internal/mimemessage/ImmutableDelegatingSMTPMessage.java +++ b/modules/simple-java-mail/src/main/java/org/simplejavamail/converter/internal/mimemessage/ImmutableDelegatingSMTPMessage.java @@ -1,6 +1,6 @@ package org.simplejavamail.converter.internal.mimemessage; -import com.sun.mail.smtp.SMTPMessage; +import org.eclipse.angus.mail.smtp.SMTPMessage; import jakarta.activation.DataHandler; import jakarta.mail.Address; import jakarta.mail.Flags; diff --git a/modules/simple-java-mail/src/main/java/org/simplejavamail/converter/internal/mimemessage/MimeMessageParser.java b/modules/simple-java-mail/src/main/java/org/simplejavamail/converter/internal/mimemessage/MimeMessageParser.java index 3ed8f994..9ce8b58d 100644 --- a/modules/simple-java-mail/src/main/java/org/simplejavamail/converter/internal/mimemessage/MimeMessageParser.java +++ b/modules/simple-java-mail/src/main/java/org/simplejavamail/converter/internal/mimemessage/MimeMessageParser.java @@ -1,6 +1,6 @@ package org.simplejavamail.converter.internal.mimemessage; -import com.sun.mail.handlers.text_plain; +import org.eclipse.angus.mail.handlers.text_plain; import jakarta.activation.ActivationDataFlavor; import jakarta.activation.CommandMap; import jakarta.activation.DataHandler; @@ -719,7 +719,7 @@ public Date getSentDate() { } /** - * DataContentHandler for text/calendar, based on {@link com.sun.mail.handlers.text_html}. + * DataContentHandler for text/calendar, based on {@link org.eclipse.angus.mail.handlers.text_html}. *

* The unfortunate class name matches Java Mail's handler naming convention. */ diff --git a/modules/simple-java-mail/src/test/java/org/simplejavamail/converter/internal/mimemessage/ImmutableDelegatingSMTPMessageTest.java b/modules/simple-java-mail/src/test/java/org/simplejavamail/converter/internal/mimemessage/ImmutableDelegatingSMTPMessageTest.java index afafe852..be7c975d 100644 --- a/modules/simple-java-mail/src/test/java/org/simplejavamail/converter/internal/mimemessage/ImmutableDelegatingSMTPMessageTest.java +++ b/modules/simple-java-mail/src/test/java/org/simplejavamail/converter/internal/mimemessage/ImmutableDelegatingSMTPMessageTest.java @@ -1,6 +1,6 @@ package org.simplejavamail.converter.internal.mimemessage; -import com.sun.mail.smtp.SMTPMessage; +import org.eclipse.angus.mail.smtp.SMTPMessage; import jakarta.activation.DataHandler; import jakarta.mail.Address; import jakarta.mail.Flags; diff --git a/modules/smime-module/pom.xml b/modules/smime-module/pom.xml index 8d27a0e9..193876a6 100644 --- a/modules/smime-module/pom.xml +++ b/modules/smime-module/pom.xml @@ -34,7 +34,7 @@ org.simplejavamail utils-mail-smime - 2.2.0 + 2.3.0 diff --git a/pom.xml b/pom.xml index e9cde5e9..7a3d906d 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.github.bbottema modular-project-parent - 1.0.21 + 1.0.23 org.simplejavamail @@ -106,7 +106,7 @@ org.slf4j slf4j-api - 1.7.32 + 1.7.36 com.google.code.findbugs @@ -128,11 +128,6 @@ junit 4.13.2 - - jakarta.activation - jakarta.activation-api - 2.0.1 -