Well, i use the Smtp extention from "vknow360" and on Android 4.4.2 it crashes with the following screen.
Seems thats java.mail doesn't support the old android version. (on android >=9 everything is ok.)
I am using the SMTP CLIENT extension to send notification emails using my SMTP server, and it works perfectly on the companion app, but when I export it to the apk, it doesn't work; the screen closes when I click “send.”
It works fine on the companion app, but not on the apk.
I’m getting a crash when calling my email-sharing function. The app throws:
java.util.ServiceConfigurationError: javax.mail.Provider: Provider com.sun.mail.imap.IMAPProvider not found
Caused by: ClassNotFoundException: com.sun.mail.imap.IMAPProvider
This happens when javax.mail.Session.getInstance() is created (Jakarta Mail 1.6.7 is logged). It looks like the extension package is missing the IMAP provider classes/resources (e.g., com.sun.mail.imap.IMAPProvider and/or the META-INF/services/javax.mail.Provider entries), so JavaMail fails while loading providers and crashes the app.