Skip to main content

Aspose.Email Cloud API

Project description

PYPI License tests

Manage Emails in Cloud via Python REST SDK

Aspose.Email Cloud SDK for Python 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 Python 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.

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.

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 a Client id and a Client secret; they can be looked up at Aspose Cloud Dashboard (it requires free registration in Aspose Cloud for this).

Installation

You can use it directly in your project via the source code or get a PYPI Package:

pip install aspose-email-cloud

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

Usage examples

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

from AsposeEmailCloudSdk import api #EmailApi class is here
from AsposeEmailCloudSdk import models #REST API models are here

#...
client_secret = 'Your Client secret'
client_id = 'Your Client id'

email_cloud = api.EmailCloud(client_secret, client_id)

Business cards recognition API

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

path = 'path/to/image/to/parse.png'
result = email_cloud.ai.bcr.parse(models.AiBcrParseRequest(
    file=image_file,
    is_single=True))
contact = result.value[0]
assert 'Parsed Display Name' in contact.display_name

Aspose.Email Cloud SDKs in Popular Languages

.NET Java PHP Python Ruby Node.js
GitHub GitHub GitHub GitHub GitHub GitHub
NuGet Maven Composer PIP GEM NPM

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aspose-email-cloud-21.9.0.tar.gz (192.6 kB view details)

Uploaded Source

Built Distribution

aspose_email_cloud-21.9.0-py3-none-any.whl (602.0 kB view details)

Uploaded Python 3

File details

Details for the file aspose-email-cloud-21.9.0.tar.gz.

File metadata

  • Download URL: aspose-email-cloud-21.9.0.tar.gz
  • Upload date:
  • Size: 192.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for aspose-email-cloud-21.9.0.tar.gz
Algorithm Hash digest
SHA256 1409833e228655e88ad6ccd5db328bbe88dc83f4bca220b7005e21141ce7b60f
MD5 4f71e569daa65b9c214c6dc9fbf10595
BLAKE2b-256 902f68380e0707004038d42dd1b74049c0f0c11d35cc88a8280fd4c6b286ec4b

See more details on using hashes here.

File details

Details for the file aspose_email_cloud-21.9.0-py3-none-any.whl.

File metadata

  • Download URL: aspose_email_cloud-21.9.0-py3-none-any.whl
  • Upload date:
  • Size: 602.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for aspose_email_cloud-21.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc8345410a2bcb598cddbc8d0f06dc7ed555649ef2c0eb2ace2ea1c27ff8511b
MD5 6264b186a358357834096955831bace2
BLAKE2b-256 d3141db1538646b1ad92d09266f2da021fec4cde32ff77ffd207a387a5bed88e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page