Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.
This repository was archived by the owner on May 15, 2024. It is now read-only.

Email Html body missing in Android Platform  #620

@minaairsupport

Description

@minaairsupport

Bug report best practices: Submitting Issues

Description

I tried to send Email with your library , it was nice in iOS but in android I have missing body
that happen incase body html

 public async Task SendEmail(string subject, string body, List<string> recipients)
        {
            try
            {
                var message = new EmailMessage
                {
                    Subject = subject,
                    Body = body,
                    To = recipients,
                    BodyFormat = EmailBodyFormat.Html,
                    //Cc = ccRecipients,
                    //Bcc = bccRecipients
                };
                await Email.ComposeAsync(message);
            }
            catch (FeatureNotSupportedException fbsEx)
            {
                Crashes.TrackError(fbsEx);
                // Email is not supported on this device
            }
            catch (Exception ex)
            {
                Crashes.TrackError(ex);
                // Some other exception occurred
            }
        }

Steps to Reproduce

  1. just call method above and you will get empty body with these params
SendEmail("subject", "<p> Test body</p>", new List<string>(){jeg@fdngj.com});

in iOS you will find Email with body , Android Empty Body

Expected Behavior

Html body

Actual Behavior

Empty body

Basic Information

  • Version with issue: 0.11.0-preview
  • Last known good version:
  • IDE: Visual Studio
  • Platform Target Frameworks:
    • iOS:
    • Android: Android 7 Samsung Galaxy S6
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Screenshots

Reproduction Link

VS bug #735687

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions