https://github.com/aspose-email-cloud/aspose.email-cloud-sdk-for-java
Java library for communicating with the Aspose.Email Cloud API.
https://github.com/aspose-email-cloud/aspose.email-cloud-sdk-for-java
ai aspose aspose-cloud cloud email eml icalendar java mapi mhtml msg sdk vcard
Last synced: 11 days ago
JSON representation
Java library for communicating with the Aspose.Email Cloud API.
- Host: GitHub
- URL: https://github.com/aspose-email-cloud/aspose.email-cloud-sdk-for-java
- Owner: aspose-email-cloud
- License: mit
- Created: 2019-11-06T12:19:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-22T12:40:22.000Z (almost 3 years ago)
- Last Synced: 2026-06-12T04:28:36.200Z (about 1 month ago)
- Topics: ai, aspose, aspose-cloud, cloud, email, eml, icalendar, java, mapi, mhtml, msg, sdk, vcard
- Language: Java
- Homepage: https://apireference.aspose.cloud/email/
- Size: 1.98 MB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://repository.aspose.cloud/repo/com/aspose/aspose-email-cloud/) [](https://repository.aspose.cloud/repo/com/aspose/aspose-email-cloud/) 
# Manage Emails in Cloud via Java REST SDK
[Aspose.Email Cloud SDK for Java](https://products.aspose.cloud/email/java) 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 Java applications quickly and easily, with zero initial cost.
[Aspose.Email Cloud home](https://products.aspose.cloud/email/family)
[Swagger UI](https://apireference.aspose.cloud/email/)
# Cloud Email Processing Features
Aspose.Email Cloud is a REST API for creating email applications that work with standard email file formats. This SDK:
- Lets developers manipulate different emails' formats such as Outlook MSG, EML, VCard, and iCalendar files.
- Supports AI functions:
- The Business card recognition.
- The Name API for parsing and handling personal names.
- Has a built-in email client. This client provides:
- Unified REST API for different email protocols: IMAP, POP3, SMTP, EWS, WebDav.
- Virtual multi-account.
- Message threads (POP3 accounts are also supported).
- Email configuration discovery.
- Disposable email address detection.
## Improvements in version 21.9
Aspose.Email Cloud 21.9.0 comes with improvements described below:
- `EmailCloud.Email.Convert` method documentation fixed.
- Some documentation improvements.
- SDK dependencies updated.
See [Release notes](https://docs.aspose.cloud/email/aspose-email-cloud-21-9-release-notes/).
## How to use the SDK?
The complete source code is available in the [GIT repository](https://github.com/aspose-email-cloud/aspose-email-cloud-java/tree/master/src/main/java/com/aspose/email/cloud/sdk).
Use [SDK tutorials](https://docs.aspose.cloud/email/sdk-tutorials/) and [SDK reference documentation](https://docs.aspose.cloud/email/reference-api/).
### Prerequisites
To use this SDK, you need a Client id and a Client secret; they can be looked up at [Aspose Cloud Dashboard](https://dashboard.aspose.cloud/#/apps) (it requires free registration in Aspose Cloud for this).
### Installation
You can either directly use it in your project via jar file or add it as Maven dependency ([see repo](https://repository.aspose.cloud/repo/com/aspose/aspose-email-cloud/)):
First, you should add a repository:
```xml
aspose-cloud
Aspose.Cloud repository
https://repository.aspose.cloud
```
Then, add a dependency:
```xml
com.aspose
aspose-email-cloud
```
See more details about SDK installation in this tutorial: [SDK setup](https://docs.aspose.cloud/email/sdk-setup/).
### Usage examples
To use the API, you should create an EmailCloud object:
```java
EmailCloud api = new EmailCloud("Your Client secret", "Your Client id");
```
#### Business cards recognition API
Use `AiBcrApi.parse` method to parse business card image to VCard DTO:
```java
byte[] fileBytes = IOUtils.toByteArray(new FileInputStream("/tmp/alex.png"));
ContactList result = api.ai().bcr().parse(Models.aiBcrParseRequest()
.file(fileBytes)
.isSingle(true)
.build());
ContactDto contact = result.getValue().get(0);
assert contact.getDisplayName().contains("Parsed Display Name");
```
## Aspose.Email Cloud SDKs in Popular Languages
| .NET | Java | PHP | Python | Ruby | Node.js |
|------|------|-----|--------|------|---------|
| [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-dotnet) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-java) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-php) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-python) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-ruby) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-node) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-android) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-swift)|[GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-dart) |[GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-go) |
| [NuGet](https://www.nuget.org/packages/Aspose.Email-Cloud/) | [Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-email-cloud) | [Composer](https://packagist.org/packages/aspose/aspose-email-cloud) | [PIP](https://pypi.org/project/aspose.email-cloud/) | [GEM](https://rubygems.org/gems/aspose_email_cloud) | [NPM](https://www.npmjs.com/package/@asposecloud/aspose-email-cloud) |
[Product Page](https://products.aspose.cloud/email/java) | [Documentation](https://docs.aspose.cloud/email/) | [Demo](https://products.aspose.app/email/family) | [Swagger UI](https://apireference.aspose.cloud/email/) | [Blog](https://blog.aspose.cloud/category/email/) | [Free support](https://forum.aspose.cloud/c/email) | [Free trial](https://dashboard.aspose.cloud/#/apps) | [SDK reference documentation](https://docs.aspose.cloud/email/reference-api)