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, 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

Adding Aspose.Email Cloud to your project

  1. Add a pod entry for AsposeEmailCloud to your Podfile
    pod 'AsposeEmailCloud'
    
  1. Install the pod(s) by running
    pod install
    
  1. Include AsposeEmailCloud wherever you need it with
    #import "ASPEmailApi.h"
    

• Source filesAlternatively you can directly add source files to your project.

  1. Download the latest code version from GitHub or CodePlex repository.
  2. Open your project in Xcode, then drag and drop email folder onto your project (use the “Product Navigator view”). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
  3. Include AsposeEmailCloud wherever you need it with
    #import "ASPEmailApi.h"
    

UsageAn example is given below to give you a quick preview of how APIs of this SDK can be called.

/*Get email attachment by name.*/

#import "ASPApiClient.h"
#import "ASPEmailApi.h"

//Get App key and App SID from https://cloud.aspose.com
[ASPApiClient setAppKey:@"" andAppSID:@""];

ASPEmailApi *emailApi = [[ASPEmailApi alloc] init];

NSString *fileName = @"email_test2.eml";
[self uploadFile:fileName];

[self.emailApi getEmailAttachmentWithCompletionBlock:fileName 
               attachName:@"README.TXT"
               storage:nil
               folder:nil
               completionHandler:^(NSURL *output, NSError *error) {
                   BOOL isFileExist = [[NSFileManager defaultManager] fileExistsAtPath:[output path]];
                   XCTAssertTrue(isFileExist, @"Failed to get email attachment by name.");
}]; 

DependencyThis SDK has dependency on following libraries.

  1. AFNetworking
  2. JSONModel
  3. ISO8601
  4. AsposeStorageCloud

Aspose.Email Cloud SDK ExamplesAspose.Email Cloud SDK for Objective C Examples are also available to guide developers to get familiar with SDK and its usage to invoke resources and operations using the Aspose.Email Cloud REST API. Please see the SDK examples of following categories.

Unit TestsTo help you get started we also provided https://github.com to Aspose.Email APIs.

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