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.

Compose Email throws Exception on UWP #707

@NPadrutt

Description

@NPadrutt

Bug report best practices: Submitting Issues

Description

I try to compose an email message in a UWP application, but an error is thrown. On Android the same code works as expected.

Steps to Reproduce

  1. Start the reproduction app
  2. click on Send Email
  3. See the error in the output

Expected Behavior

Either create an Email with the default Email app or offer a dialog to select the email app to use.

Actual Behavior

Excpetion is thrown:

System.ArgumentException: Value does not fall within the expected range.
   at Xamarin.Essentials.Email.PlatformComposeAsync(EmailMessage message)
   at App1.Business.Class1.SendEmail()The program '[30188] App1.exe' has exited with code -1 (0xffffffff).

Basic Information

  • Version with issue: 1.0.1
  • Last known good version:
  • IDE: Visual Studio 15.9.6
  • Platform Target Frameworks:
    • UWP: Min: 16299, Target: 17763
  • Android Support Library Version:

Screenshots

Reproduction Link

App1.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions