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 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. With Aspose.Email Cloud, it is further possible to access messages and retrieve attachments that can then be saved to a local disc. The robust API saves developers time and effort when programming with emails in the cloud.

Working with Aspose.Email

  1. To integrate Aspose Cloud SDK into your iOS project, please read Getting Started with the Aspose Cloud iOS SDK
  2. Sign up with Aspose Cloud service at: Cloud dashboard
  3. Create a new App and get your App SID and App Key.
  4. Call setAppKey:andAppSID: class method of AsposeApp with your App SID and App Key as an arguments to this method.
  5. Set the base product URI to https://api.aspose.cloud/v3.0/ by calling setBaseProductUri: class method of Product.
  6. Import AsposeAPIs.h header file in your class.
  7. Now we are ready to work with Aspose.Email APIs.

Usage

Convert email messages back and forth between EML, MSG and MHT formats

+ (NSString *) convertEmailToFormat:(NSString *) fileName format:(NSString *) format 
                                                          andSaveAs:(NSString *) outFileName;

Download attachment from message by calling following method

+ (ASPOSEEmailAttachmentResponse *) getEmailAttachment:(NSString *) fileName 
                                    attachmentName:(NSString *) attachmentName 
                                    andSaveAs:(NSString *) outFileName;

Retrieve email message property by calling following method

+ (NSString *) getEmailProperty:(NSString *) fileName 
               propertyName:(NSString *) propertyName;

Set email message property by calling following method

+ (BOOL) setEmailProperty:(NSString *) fileName propertyName:(NSString *) propertyName 
         propertyValue:(NSString *) propertyValue;

Unit Tests for Aspose.Email

To help you get started we also provided unit test coverage to Aspose.Email APIs.

Download

Start a Free Trial Today

Start 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.

Customer Feedback

Your feedback is very important to us. Please feel free to provide feedback and raise feature requirements. We are keen to implement customer driven features since we are a 100% customer driven company.