Aspose.Email CloudAspose.Email Cloud is a REST API for manipulating email in the cloud. It is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, Node.js 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][1] [![][2] What’s new in the latest release This is a major revamp release for Aspose.Email Cloud SDK for Node.js. It covers all the [Aspose.Email Cloud APIs][3]. This SDK provides a complete solution to work with cloud emails in Node.js using powerful [Aspose.Emails Cloud APIs][4], so you can manipulate message formats such as MSG, EML, and MHT files in the cloud seamlessly. Source Code Repository Complete source code of this release of Aspose.Email Cloud SDK for Node.js is freely available on your favorite [GitHub][5] and [Codeplex][6] repositories.

Setup Aspose.Email Cloud SDK for Node.js is also available as a released package in the [npm (package manager for javascript)][7] . You can bypass [GitHub source code repository][8] and depend directly on the released package by installing from npm: Aspose.Email Cloud SDK for Node.js - npm installation

 npm i asposeemailcloud 
```Data In order to manipulate any files, you first need to upload them to the Aspose cloud storage or 3rd party cloud storage using [Aspose.Storage Cloud SDK for Node.js][9]. Quick SDK Tutorial

var fs = require(‘fs’); var assert = require(‘assert’); var StorageApi =require(“asposestoragecloud”) var EmailApi = require(‘asposeemailcloud’);

var AppSID = ‘XXX’; //sepcify App SID var AppKey = ‘XXX’; //sepcify App Key var config = {‘appSid’:AppSID,‘apiKey’:AppKey}; var data_path = ‘../data/’;

try { //Instantiate Aspose.Storage API SDK var storageApi = new StorageApi(config);

//Instantiate Aspose.Email API SDK var emailApi = new EmailApi(config);

//set input file name var filename = “email_test2”;; var name = filename + “.eml”; var format = “msg”;

//upload file to aspose cloud storage storageApi.PutCreate(name, null, null, file= data_path + name , function(responseMessage) { assert.equal(responseMessage.status, ‘OK’); //invoke Aspose.Email Cloud SDK API to convert message to other formats emailApi.GetDocumentWithFormat(name, format, storage, folder, null, function(responseMessage) { assert.equal(responseMessage.status, ‘OK’); //download converted email message from api response var outfilename = filename + ‘.’ + format; var writeStream = fs.createWriteStream(‘c:/temp/’ + outfilename); writeStream.write(responseMessage.body); }); });

}catch (e) { console.log(“exception in example”); console.log(e); }

*   [Working with Email](
*   [Working with Attachments](
*   [Working with Email Properties](

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

[2]: "Aspose.Email Cloud")](