---
title: "JmapClient.Send"
url: "https://reference.aspose.com/email/net/aspose.email.clients.jmap/jmapclient/send/"
product: "Aspose.Email for .NET API Reference"
description: "JmapClient method. Imports and submits a MailMessage with an explicitly selected identity and drafts folder"
---

## JmapClient.Send method

Imports and submits a MailMessage with an explicitly selected identity and drafts folder.

```csharp
public string Send(MailMessage message, string identityId, string draftsFolderId, 
    CancellationToken cancellationToken = default)
```

## Remarks

On submission failure the imported draft is retained; JmapException.ObjectId contains its id. Success means that submission was accepted, not that delivery completed.

### See Also

* class [MailMessage](../../../aspose.email/mailmessage/)
* class [JmapClient](../)
* namespace [Aspose.Email.Clients.Jmap](../../jmapclient/)
* assembly [Aspose.Email](../../../)


