定制 aspose/aspose-email-cloud 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

aspose/aspose-email-cloud

Composer 安装命令:

composer require aspose/aspose-email-cloud

包简介

This repository contains Aspose Cloud SDK for PHP source code. Aspose Cloud SDK for PHP lets PHP developers convert and process a variety of file formats in the cloud quickly and easily.

README 文档

README

Packagist License PHP tests

Manage Emails in Cloud via PHP REST SDK

Aspose.Email Cloud SDK for PHP 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 PHP 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 either directly use SDK in your project via source code or get Packagegist distribution. From the command line:

composer require aspose/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:

$configuration = new Configuration(); // Aspose\Email\Configuration
$configuration
    ->setClientSecret("Your Client secret")
    ->setClientId("Your Client id");
$api = new EmailCloud($configuration);

Business cards recognition API

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

$file = new SplFileObject("path/to/image/to/parse.png");
$result = $api->ai()->bcr()->parse(
    Models::AiBcrParseRequest()
            ->file($file)
            ->is_single(true)
        ->build()
);
$contact = $result->getValue()[0];
$parsedDisplayName = $contact->getDisplayName();

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

统计信息

  • 总下载量: 55
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-11-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固