Closed jasonJamEther closed 6 years ago
Could you show the code you are using to cause this issue?
Sure. Here is a basic link example. The email composer opens correctly but the body only shows "test link" and it has not hyper link attached.
try
{
Message.init(my_key );
trace("messenger started");
}
catch(e:Error)
{
trace(e);
}
if (Message.isMailSupported)
{
var htmltest:String = '<html><a href="https://www.google.com">test link</a></html>';
Message.service.sendMailWithOptions("test subject",htmltest,"jason@test.com","","",null,true);
}
What email client are you using?
I tried the gmail client most recently but the default android mail client app had the same result.
thank you for looking into this by the way.
Have you been able to replicate on other devices or versions of Android at all?
I have tried it on my samsung Galaxy S7 and a google pixel. Both have the same result where html appears to be removed.
Have you tried removing the <html>
tags from your content?
yes I have. I am pretty sure this feature doesn't work. It kind of sounds like Android doesn't even allow it.
Hi, seems you are correct. Several apps we have just tested (including Gmail) have removed the ability to send html emails through their editors. This has worked in the past but appears they have removed this.
Unfortunately this is outside our control so there's not a lot we can do.
Expected behaviour
Html email links appears as clickable links in the email body.
Actual behaviour
Html email links seem to be ignored/remove and the linked text populates the email as regular text. Many other html features appear such as img src also are not working.
Environment
Logs
Device logs if relevant