Manipulate Emails anywhere, any language and any platform

Forget about platform, just send a REST API call to Convert email messages in any type of application.

  Start Free Trial
Aspose.Email Cloud

Aspose.Email Cloud

 
 

Aspose.Email Cloud is a REST API for creating email archiving applications that work with common email file formats. It lets developers manipulate message formats such as Outlook MSG, EML and MHT files.

 

Advanced Cloud Email Conversion Features

 

 

Convert between message formats

 

Access message properties such as From, To, CC and Subject

 

Download attachments from message files

Get Started with Email Management REST API

It is easy to get started with Aspose.Email Cloud and there is nothing to install. Simply create an account at Aspose Cloud and get your application information. Once you have the App SID & key, you are ready to give the Aspose.Email Cloud REST API a try with any language - on any platform that supports HTTP requests and responses. It is a REST API that can be used to create email archiving applications capable of managing and manipulating email messages.

Conversion between Popular Email Formats On The Fly

Being a well structured API, Aspose.Email Cloud allows developers to convert hosted email messages on the fly as well as retrieve them from a mailbox. It can be used to convert between EML, MSG and MHT email formats.

Convert EML to MSG format - C#


EmailApi emailApi = new EmailApi(Common.APP_KEY, Common.APP_SID, Common.BASEPATH);
// Upload source file to aspose cloud storage
storageApi.PutCreate("email_test.eml", "", "", System.IO.File.ReadAllBytes(Common.GetDataDir() + "email_test.eml"));
// Invoke API to convert email to msg formats
ResponseMessage apiResponse = emailApi.GetDocumentWithFormat("email_test.eml", "msg", storage, folder, outPath);

Convert EML to MSG format - Java


EmailApi emailApi = new EmailApi(Configuration.apiKey, Configuration.appSID, true);
// Upload source file to aspose cloud storage
storageApi.PutCreate("email_test.eml", "", "", inputFile.toFile());
// Invoke API to convert email to msg formats
ResponseMessage apiResponse = emailApi.GetDocumentWithFormat("email_test.eml", "msg", storage, folder, outPath);

Convert EML to MSG format - Objective-C


[Utils uploadFile:"email_test.eml"];
[self.emailApi getDocumentWithFormatWithCompletionBlock:fileName
    format:@"msg"
    outPath:nil
    storage:nil
    folder:nil
    completionHandler:^(NSURL *output, NSError *error) {
    NSLog(@"%@", output);
    }];

Convert EML to MSG format - PHP


$this->email = new EmailApi();
Utils::uploadFile("email_test.eml");
$result = $this->email->GetDocumentWithFormat("email_test.eml", "msg");
print_r($result);

Convert EML to MSG format - Ruby


@email_api = EmailApi.new
@storage_api = StorageApi.new 
@storage_api.put_create("email_test.eml", File.open("../../../data/" << "email_test.eml","r") { |io| io.read } )
response = @email_api.get_document_with_format("email_test.eml", "msg")

Convert EML to MSG format - Python


emailApi = EmailApi(asposeemailcloud.ApiClient.ApiClient(apiKey, appSid, True));
#upload file to aspose cloud storage
response = storageApi.PutCreate("email_test2.eml", "../../data/" + "email_test2.eml")
#invoke Aspose.Email Cloud SDK API to convert message to other formats
response = emailApi.GetDocumentWithFormat("email_test2.eml", "msg")

Convert EML to MSG format - Android


// Instantiate API instance
EmailApi emailApi = new EmailApi(Configuration.apiKey, Configuration.appSID, true);
File inputFile = Utils.stream2file("email_test","eml", context.getResources().openRawResource(R.raw.email_test));
// Upload source file to aspose cloud storage
storageApi.PutCreate("email_test.eml", "", "", inputFile);
// Invoke Aspose.Email Cloud SDK API to convert email to msg format
ResponseMessage apiResponse = emailApi.GetDocumentWithFormat("email_test.eml", "msg", storage, folder, outPath);

Access Message Properties

Aspose.Email Cloud provides the leverage to read and retrieve all or specific email properties such as From, To, Subject, Bcc, CC, Body, Date, Priority, Attachments etc.

Download Email Attachments

Aspose.Email Cloud lets developers access and download message attachments from a mailbox store via common communication protocols such as IMAP and POP3.

Language, Platform & Storage Independence

Aspose.Email Cloud can be used with any language or platform that supports HTTP requests and responses. You can also use Aspose.Email Cloud with many third party storage providers including Amazon S3, Google Cloud, Google Drive and Dropbox.

 

Support and Learning Resources