Comments (6)
Well, ChatGPT helped me out a lot with this. He really changed how I work and study!
from simple-java-mail.
Do we have quantitative data to support this decision? Specifically, do we have data on the ratio of Spring vs. Spring Boot users? Also, is it possible for a Spring Boot compatible project to maintain backward compatibility with Spring?
I would be willing to looking into converting this module, but not if I exclude an audience in doing so. However, another option could be to have a new module: the Simple Java Mail spring-boot-module.
from simple-java-mail.
I found a way to do this with build-time-only Spring boot dependency to generate the file. However, to make this work I need to define a property structure in Java that conforms to the existing property list. This is not possible however.
For example, there is a property that ends in ".class", which is impossible to model in a Java class, since it is both a reserved keyword and existing method (.getClass()
) that is final. Another issue is that the existing properties uses a property name both as a property key/value as well as nested properties list, for example: .poolsize=
and .poolsize.keepalivetime=
. This cannot be modeled in a java class, as you can't have two fields with the same name.
I'm not sure how to proceed with this, but right now it's taking too much time.
from simple-java-mail.
Ok, I've jumped through a bunch of hoops to make this work. There were a few properties that contained underscores that are dashes with Spring Boot and two related properties (poolsize and poolsize.keepalivetime) that had to have an overloaded name (poolsize and poolsize-more.keepalivetime).
I pushed it to develop, so the generated spring-module dependency now contains a populated spring-configuration-metadata.json. Here's an updated spring-module jar, are you in a position to test this?
spring-module dependency + docs.zip
from simple-java-mail.
Wow, I'm a bit shocked by how you managed to provide a working solution for this within hours! 😀
I downloaded the JAR and added it to the classpath in my project and it seems to work great:
This whole project is really great work, thanks so much for sharing it!
from simple-java-mail.
Thank for testing! Enhancement released in 8.3.0.
from simple-java-mail.
Related Issues (20)
- [bug] don't require smime-module when adding collection of headers (also used when copying email) HOT 2
- [question from newbie] sjm cli does not return HOT 1
- Add config support for 'verifyingServerIdentity' with SMTP, also: since Angus 1.1.0 (8.6.0) server identity checks are on by default and can be countered by `mailerBuilder.verifyingServerIdentity(false)` HOT 12
- Cannot send an email. HOT 3
- Order of attachments is lost when converting a MimeMessage to an Email HOT 4
- Make S/MIME algorithms configurable (signature algorithm for signing, key encapsulation and cipher algorithms for encryption) HOT 4
- [Enhancement] Expose finer-grained DKIM configuration through the builder api and disable 'l-param' by default HOT 12
- [bug] Fix parsing addresses from headers in EML files, like a Disposition-Notification-To with umlaut HOT 1
- Update outlook-message-parser dependency, which has improved support for X500 addresses
- [Bug] Message headers not treated with case insensitivity as per RFC, causing deviating headers to slip through the filters HOT 1
- Maxing out SMTP server concurrent connections HOT 1
- outlookMsgToEmail duplicates recipients if same name used for To and Cc HOT 1
- java.lang.NoClassDefFoundError: org/jacoco/agent/rt/internal_c13123e/Offline HOT 2
- [security] Update 3rd party dependencies to get rid of all currently known CVE issues HOT 2
- [enhancement+bug] Make EmailConverter API more consistent regarding Session parameter, don't use `Session.getDefaultInstance` anymore and fix bug where `emlToEmailBuilder` used `emlToMimeMessage` HOT 3
- How to create jakarta.mail.internet.MimeMessage without accessing the mailer session? HOT 3
- Update upstream dependency generic-object-pool, which solves a critical bug when there are exceptions during allocation HOT 1
- How to esclude embedded image in email HOT 2
- When reading .msg files the RTF converted to HTML is garbled in some cases where the appropriate charset is not detected properly HOT 6
- Bump smtp-connection-pool from 2.3.2 to 2.3.3 which improves performance and fixes a rare ConcurrentModificationException HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-java-mail.