-
Notifications
You must be signed in to change notification settings - Fork 333
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
Body of email is ignored in Outlook - Solution code is potentially added in my post! #283
Comments
Sorry to revive this, but I still don't seem to be able to get the body to work in Outlook on Android. I'm testing on a device on Android 8.1.0, and other apps on the device are able to open an email in Outlook with the body filled. If I choose gmail as the app to handle the email the body fills fine. Yet, if I choose outlook the email opens with all the fields filled as they should (To, CC, BCC, Attachments etc.) except the body is empty. I have tried with and without attachments, setting ( and not setting ) type: 'message/rfc822' and nothing seems to work. Using the example opens with no body
and if I set type
it causes Android to say 'No apps to perform this action'. Would be awesome if someone else could confirm this is not working, or show me some example code that works? |
Does setting |
Yes! it works. I swear I tried that but thank you. |
Glad to hear this enhancement has been added and that JSCones managed to get it to work for outlook to. |
cordova.plugins.email.open({ this is my code but it still give error of 'No apps to perform this action'. |
Dear reader,
I have stumbled upon an issue where the Outlook mail app, ignores the body that is set when tested on Android 7.0
I looked into the code for Android and I noticed that the type is only set when there are attachments to be send. According to this topic on stackoverflow the type is required when a body is set.
https://stackoverflow.com/questions/16500545/email-body-doesnt-show-when-using-an-intent
So there are 2 solutions I came up with:
Please let me know if you can apply this change so I can maybe use it to resolve my issue with Outlook.
Since the body is filled in properly when using Gmail. But I can't know for certain the the users of my app will always use Gmail.
Thanks in advance!
Koen
The text was updated successfully, but these errors were encountered: