Skip to content

aspose-email-cloud/aspose-email-cloud-ruby

Repository files navigation

Manage Emails in Cloud via Ruby REST SDK

Gem License tests

Aspose.Email Cloud SDK for Ruby 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 Ruby applications quickly and easily, with zero initial cost.

Aspose.Email Cloud home

Swagger UI

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.

What's new in version 20.12

Aspose.Email Cloud 20.12.0 comes with SDK breaking changes:

  • AppKey renamed to ClientSecret.
  • AppSID renamed to ClientId.

Some SDK reference documentation improvements were made.

See Release notes.

How to use the SDK?

The complete source code is available in the GIT repository.

Use SDK tutorials and SDK reference documentation.

Prerequisites

To use this 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).

Installation

You can either directly use it in your project via source code or get gem.

See more details about SDK installation in this tutorial: SDK setup.

Usage examples

To use the API, you should create an EmailCloud object:

api = EmailCloud.new('Your App Key', 'Your App Sid')

Business cards recognition API

Use AiBcrApi.parse method to parse business card image to VCard DTO:

image = File.new('path/to/image/to/parse.png') result = api.ai.bcr.parse(AiBcrParseRequest.new(file: image, is_single: true)) contact = result.value[0]

Product Page | Documentation | Demo | Swagger UI | Blog | Free support | Free trial | SDK reference documentation

About

A ruby library for communicating with the Aspose.Email Cloud API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 8

Languages