---
description: Wisej.Hybrid.DeviceEmail
---

# DeviceEmail

Namespace: **Wisej.Hybrid**

Assembly: **Wisej.Hybrid** (3.5.0.0)

Provides methods to access the device's email client.

{% tabs %}
{% tab title="C#" %}
```csharp
public class DeviceEmail
```
{% endtab %}

{% tab title="VB.NET" %}
```visual-basic
Public Class DeviceEmail
```
{% endtab %}
{% endtabs %}

Access this class through the [Device](../general/wisej.hybrid.device) singleton.

## Constructors

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)DeviceEmail()

Initializes a new instance of [DeviceEmail](wisej.hybrid.deviceemail).

## Properties

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)IsComposeSupported

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Gets whether composing emails is supported on the client device.

## Methods

### ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Compose(email, attachments)

Composes a new email with the given attachments.

| Parameter                                                                                                                                                                                                                     | Type                                                                                                         | Description            |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ---------------------- |
| **email**                                                                                                                                                                                                                     | [EmailMessage](wisej.hybrid.shared.communication.emailmessage)                                               | The email to compose.  |
| **attachments** ![](https://1168517704-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKLgWHTlbcMvpwVT7mLBW%2Fuploads%2Fgit-blob-723b640963c6cd781ff8c5ce5b24149fa0af7b9c%2Fbadge-optional.svg?alt=media) | [Dictionary\<String, Stream>](https://docs.microsoft.com/dotnet/api/system.collections.generic.dictionary-2) | The email attachments. |
