cjlotz / Xamarin.Plugins

Cross platform Xamarin Plugins
MIT License
113 stars 56 forks source link

a-href's don't show up as links in the GMail app #102

Open duzenko opened 6 years ago

duzenko commented 6 years ago

Bug Information

Version Number of Plugin: Latest stable

Device Tested On: Samsung Tab S2

Version of VS: Latest stable

Version of Xamarin: 3.0

Steps to reproduce the Behavior

Use the code below.

Expected Behavior

Href's show up as links in the gmail app

Actual Behavior

Plain text in GMail app. iOS mail sender shows links just fine.

Code snippet

                    CrossMessaging.Current.EmailMessenger.SendEmail( new EmailMessageBuilder()
                        .To( res.Text )
                        .Subject( "Shortbench Invite" )
                        .BodyAsHtml( @"        <p>Exclusive Invite <a href=""https://www.shortbench.com/#/getStarted/667857183"">https://www.shortbench.com/#/getStarted/667857183</a></p>
        <p>About Shortbench (<a href=""www.shortbench.com"">www.shortbench.com</a>)</p>
...
    " )
                        .Build() );

Screenshots