This repository contains Aspose.Email Cloud SDK for Java source code. 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
API Reference
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
- 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
- New MAPI message files API with models:
MapiMessageDto- represents the Microsoft Outlook message.MapiCalendarDto- represents the Microsoft Outlook calendar object.MapiContactDto- represents the Microsoft Outlook contact information.
- Improved Recurrence pattern support for CalendarDto.
See Release notes
The complete source code is available in the GIT repository.
Use SDK tutorials:
- SDK setup - installation, account setup, first API calls
- Business Cards Recognition API - convert captured business cards and name card images, into a vCard format
- Working with Name API - format, genderize, compare, parse, autocomplete names
- Email Message Files - Convert EML to MSG and back, edit EML files, etc.
- Quick Start With iCalendar API - Crate and edit iCalendar files
- Quick Start With VCard API - Create and edit VCard files, business card recognition
- Quick Start With Email Client - Setup builtin email client, search/fetch/send/move/delete messages
- Email Client Threads - Fetch/Move/Delete email message threads using builtin email client
- File converters
SDK reference documentation is available in this README
To use these SDK, you need an App SID and an App Key; they can be looked up at Aspose Cloud Dashboard (it requires free registration in Aspose Cloud for this).
You can either directly use it in your project via jar file or add it as Maven dependency (see repo):
First, you should add a repository:
<repository> <id>aspose-cloud</id> <name>Aspose.Cloud repository</name> <url>https://repository.aspose.cloud</url> </repository>Then, add a dependency:
<dependency> <groupId>com.aspose</groupId> <artifactId>aspose-email-cloud</artifactId> </dependency>See more details about SDK installation in this tutorial: SDK setup
To use the API, you should create an EmailApi object:
EmailApi api = new EmailApi("Your App Key", "Your App SID");Use AiBcrParseModel method to parse business card image to VCard DTO:
byte[] fileBytes = IOUtils.toByteArray(new FileInputStream("/tmp/alex.png")); String fileBase64 = Base64.encodeToString(fileBytes, false); ListResponseOfContactDto result = api.aiBcrParseModel(new AiBcrParseModelRequestData( new AiBcrBase64Rq(null, Arrays.asList(new AiBcrBase64Image(true, fileBase64))))); ContactDto contact = result.getValue().get(0);See more details here and here
All Aspose.Email for Cloud SDKs, helper scripts and templates are licensed under MIT License.
- SDK Reference documentation
- Website
- Product Home
- Documentation
- API Reference
- Free Support Forum
- Paid Support Helpdesk
- Blog
- Git repository: Aspose.Email Cloud SDK for .Net
- Git repository: Aspose.Email Cloud SDK for Ruby
- Git repository: Aspose.Email Cloud SDK for Python
- Git repository: Aspose.Email Cloud SDK for PHP
- Git repository: Aspose.Email Cloud SDK for Typescript
- Git repository: Aspose.Email Cloud SDK for Java