-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attachments problem in Outlook #373
Comments
Sending files directly from the file system is a bit buggy with Outlook, have you tried converting the files to base64 and attach them as base64? With me always works. |
Good suggestion thanks! i've just changed code in the app, i'm giving a feedback in the next couple of days. |
Problem seems to persist. Yesterday stats were: Total technicians using my app: 10 Here is a code example, am i doing something wrong? Open file function to base 64:
Send email function:
A couple of questions:
|
On a first glance you seem to do everything OK, this is what I use to convert images to base64 because in iOS the filesystem is also tricky. But your problem seems to reside in the fact that some files are not attached, which seems to be a different problem thus. Yes, I would strongly suggest you to use Gmail instead, I'm using Gmail in Android for ages with this plugin and never had any issues. In Xiaomi devices you just have to activate MUI optimization to attach files. If you want to deeply debug this plugin, we would deeply appreciate your PR. Check this file here, and this dir. You would need to know Java. |
Try also to search in the list of forks if everyone have already solved that issue |
Is there a minimum Android version requirement? Could Android 7 be a problem despite using Gmail App ? |
I'm not aware of any. I am using this in Android 9, 10 and 11 it and works as expected. The only restriction I've been seeing (Android 9, 10 and 11 + Gmail) is with Xiaomi devices wherein you have to activate MIUI optimization. But yes, Android 7 is already quite old. Test it at least with 9. |
Sometimes the plugin doesn't attach every attachments in the array (usually total minus one). This happens completely random.
Tested tablets: Galaxy Tab S2, Galaxy Tab A 8 inches, Galaxy Tab S6 lite
Tested Android versions: 7, 11, 11
Default email app: Outlook
A couple of Galaxy Tab A 8 inches users switched to Gmail app and apparently solved the problem, this solution didn't work for the Galaxy Tab S2 users.
When an array of files is attached i get this log:
Code i'm using:
The text was updated successfully, but these errors were encountered: