Aspose.Email for Cloud is a REST API to manipulate and convert email in the cloud. It is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more. You can use it with any platform — web, desktop, mobile, and cloud.

Aspose.Email Cloud allows developers to provide capabilities of processing email messages in their applications. Aspose.Email Cloud is a complete solution that allows you to create email archiving applications that work with common email file formats. It lets developers manipulate message formats such as MSG, EML, and MHT files. The API supports many common tasks, for example accessing messages, reading message properties such as sender, receiver, message sent date, and message details. It also supports converting messages back and forth between EML, MSG and MHT formats. Learn More

Read EML, MHT or MSG Message Files

Every email message contains certain information such as sender, receiver, subject, body, and a list of attachments. These properties can be retrieved from the email message using the Aspose.Email Cloud API. Developers can retrieve all properties, or retrieve specific properties by name. Most common message properties can be read with the API (From, To, Subject, Bcc, CC, Body, Date, Priority, Attachments and some others).

Examples

Convert Email Messages To Other Formats

It’s common to have data in one format, but find that applications or clients need it in another format. The Aspose.Email Cloud API allows you to convert messages from one format to another. You can use Aspoose.Email for Cloud REST API reliably to convert messages between formats. At present, the API supports the following conversions:

[caption id="" align=“alignright” width=“300”][![Email Cloud Supported Formats][2] Convert email messages[/caption]

  • MSG to EML
  • MSG to MHT
  • EML to MSG
  • EML to MHT
  • MHT to MSG
  • MHT to EML

Examples

  • [Convert between message formats][3] such as EML, MSG and MHT

Download Attachments from Message

Email messages may contain attachments: attachments is a common method for sharing documents and images between sender and receiver. Aspose.Email Cloud lets developers access and download message attachments from a mailbox store via common communication protocols such as IMAP and POP3.

Examples

  • [Download attachments][4] from message files

What’s new in the latest release

A major revamp release for Aspose.Email Cloud SDK for PHP covers all the [Aspose.Email Cloud APIs][5]. This SDK provides a complete solution for integrating the powerful [Aspose.Email Cloud APIs][6] with PHP, so performing any operation on any Email related format in the cloud is as easy as it can be.

Installation and Configuration

  1. Download “Aspose.Email_Cloud_SDK_for_PHP_v1.0.0“.
  2. Include “vendor/autoloader.php” file in your script.
  3. In src/Aspose/Email/AsposeApp.php Set the following variables
     /**
         * Represents AppSID for the app.
         */
        public static $appSID = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx';
    
        /**
         * Represents ApiKey for the app.
         */
        public static $apiKey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; 
    

Documentation

A detailed [documentation][7] to get familiar with the resources and operations of Aspose.Slides Cloud REST API is available for the developers.

Start a Free Trial Today

Start a free trial today – all you need is to [sign up][8] with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose for Cloud.

Suggested Post:

Add download email attachments and work with email properties

[2]: https://blog.aspose.com/wp-content/uploads/sites/2/2015/10/EmailCloud-Format-Supported-300x112.png “Email Cloud Supported Formats”)](https://blog.aspose.com/wp-content/uploads/sites/2/2015/10/EmailCloud-Format-Supported.png [3]: https://www.aspose.com/docs/display/emailcloud/Convert%20Emails%20to%20Other%20Formats [4]: https://www.aspose.com/docs/display/emailcloud/Download%20Attachment%20from%20Email [5]: https://www.aspose.com/docs/display/emailcloud/Home [6]: https://www.aspose.com/cloud/email-api.aspx [7]: https://www.aspose.com/docs/display/emailcloud/Home [8]: https://dashboard.aspose.cloud/