.NET library for communicating with the Aspose.Email Cloud API.
Aspose.Email Cloud SDK for .NET is a REST API SDK for creating email applications that work with standard email file formats such as Outlook MSG, EML, iCalendar files and VCard.
This SDK allows you to work with Aspose.Email Cloud REST APIs in your .NET applications quickly and easily, with zero initial cost.
Aspose.Email Cloud is a REST API for creating email applications that work with standard email file formats. This SDK:
Aspose.Email Cloud 21.9.0 comes with improvements described below:
EmailCloud.Email.Convert
method documentation fixed.See Release notes.
The complete source code is available in the GIT repository.
Use SDK tutorials and SDK reference documentation.
To use this SDK, you need:
You can use SDK directly in your project via the source code or get a NuGet Package.
From the Package Manager:
PM> Install-Package Aspose.Email-Cloud
Using .NET CLI:
dotnet add package Aspose.Email-Cloud
Or as a Package reference:
<PackageReference Include="Aspose.Email-Cloud"></PackageReference>
See more details about SDK installation in this tutorial: SDK setup.
To use the API, you should create an EmailCloud object:
using Aspose.Email.Cloud.Sdk.Api; //EmailApi class is here
using Aspose.Email.Cloud.Sdk.Model; //REST API models are here
...
var clientSecret = "Your client secret";
var clientId = "Your client id";
var api = new EmailCloud(clientSecret, clientId);
var result = await api.Calendar.GetAsync(new CalendarGetRequest(calendarFile, folder, StorageName));
Use EmailCloud.Ai.Bcr.Parse
method to parse business card image to VCard DTO:
var imageFilePath = "path/to/image/to/parse.png";
using (var file = File.OpenRead(imageFilePath))
{
var result = await api.Ai.Bcr.ParseAsync(
new AiBcrParseRequest
{
File = file,
IsSingle = true
});
ContactDto contact = result.Value.First();
Assert.AreEqual("Parsed Display Name", contact.DisplayName);
}
.NET | Java | PHP | Python | Ruby | Node.js |
---|---|---|---|---|---|
GitHub | GitHub | GitHub | GitHub | GitHub | GitHub |
NuGet | Maven | Composer | PIP | GEM | @asposecloud/aspose-email-cloud">NPM |
Product Page | Documentation | Demo | Swagger UI | Blog | Free support | Free trial | SDK reference documentation