mail-api
mail-api copied to clipboard
Jakarta Mail Specification project
**Is your feature request related to a problem? Please describe.** MimeMessage class has addHeader and removeHeader functions that throw MessagingException. But the underlying function does not throw these exceptions. This...
**Describe the bug** Even after fixing service loader related issues (https://github.com/eclipse-ee4j/mail/issues/630) services are not loaded in an OSGi environment. **To Reproduce** Steps to reproduce the behavior: 1. Use patched jar(s)...
**Describe the bug** An attempt has been made to solve service loader problems in an OSGi environment with org.glassfish.hk2.osgi-resource-locator. The presence of the required class `org.glassfish.hk2.osgiresourcelocator.ServiceLoader` is detected with the...
**Describe the bug** Currently, the hk2 service locator is used in [FactoryFinder](https://github.com/jakartaee/mail-api/blob/82dae3a682f8b8a75dc426c28c458ffbcc78014f/api/src/main/java/jakarta/mail/util/FactoryFinder.java#L89-L114) only. Session.java uses the ServiceLoader [without the hk2 "wrapper"](https://github.com/eclipse-ee4j/mail/blob/82dae3a682f8b8a75dc426c28c458ffbcc78014f/api/src/main/java/jakarta/mail/Session.java#L984) and therefore fails to load the providers in an...
**Challenged Tests:** [build.xml](https://github.com/eclipse-ee4j/mail-tck/blob/master/build.xml#L207) **TCK Version:** Jakarta Mail 2.1.0 **Tested Implementation:** Open Liberty **Description:** Per [section 13.3 of the EE 10 specification](https://jakarta.ee/specifications/platform/10/jakarta-platform-spec-10.0.html#java-platform-module-system-jpms), "Vendors are free to create their own API jars...
The OAuth2 documentation under https://eclipse-ee4j.github.io/mail/OAuth2 explicitly mentions: > OAuth2 is **not** supported for pop3. Yet it seems to work. This should be updated.
Hi I've lost a very long time to find why my app can't load Jakarta. Finally, I've found `smtp.fromName` attribute can't support UTF-8 caracters, in my case the "é" letter...
Java SE 9 marked java.applet.Applets for removal with no replacement. Going forward it may make sense to drop mentions about it from the spec document (and eventually from the code...
Hi all, We have prepared the [initial integration](https://github.com/CodeIntelligenceTesting/oss-fuzz/tree/jakarta-mail-api/projects/jakarta-mail-api) of the jakarta-mail api into [Google OSS-Fuzz](https://github.com/google/oss-fuzz) which will provide more security for your project. ## Why do you need Fuzzing? The...
JavaMail oauth requires full mail scope for sending email via gmail. Used scope "`https://www.googleapis.com/auth/gmail.send`" for authorization. and then got refresh and access token. Java mail: transport.connect(host, port, username, access_token); Got...