-
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
HTML markup is stripped in Android's default email app #53
Comments
your code is wrong. A extra ' just after the google.com |
Still doesn't work with the fixed code. |
I noticed you also have an extra comma after isHtml: true Since that is the last parameter in the options object, you should not have a comma after it! The following should work:
|
That is valid JS syntax. Have you tried reproducing the error on android emulator 4.4.2 API level 19? |
We are also having the same issue with it not working. If we simply do a H1 it comes across bold but any inline styling does not work. |
Trailing "," is not valid in "strict mode" |
Have same error, in this case, the tags. All tr and td tags are removed. |
+1, also not working for me. HTML formatted email looks fine in iOS, not working in Android. |
I am also experiencing the same problem with Android. Oddly, some inline css does work.. for example "margin-top:20px" works perfectly. "font-weight:bold" does not.Like hiniesta, all of my tr and td tags are being stripped out. I effectively cannot format my emails |
Its an Android issue, see https://github.com/katzer/cordova-plugin-email-composer#html-and-css-on-android |
Thanks for the update and updating the docs. I would include the note that inline CSS also does not work... this might save you from additional questions :-p |
I'm still having an issue with this, and I'm not sure if it's just me, or something not related to the plugin. I'm only using tags from the link referenced above (https://github.com/katzer/cordova-plugin-email-composer#html-and-css-on-android). My email looks formatted in the default Android client as well as Gmail. When I actually send the email, the formatting and any links get stripped. Any idea why? |
I'm not sure why that is, but it turns out that we can't have html content in our gmail/android emails. Th fact that you see it initially seems like something else entirely. |
HTML markup (not just CSS) is stripped out of the message body in Android's default email app.
Tried sending the message to my gmail address. Received a plain text email with no hyperlink or formatting:
Tested on Android emulator platform 4.4.2 API level 19.
The text was updated successfully, but these errors were encountered: