Aspose.Email Java For Ruby Examples – How to deal Email Documents

Aspose.Email for Java

Aspose.Email for Java includes classes that allow you to create as well as read message files, enabling complete processing of message contents. You can manipulate a number of message formats such as MSG, EML, EMLX, and MHT without the need of using Microsoft Outlook. You can not only modify the message contents, but also manipulate (add/remove) message attachments. It provides you sufficient ability to customize message headers and also empowers you to completely control a message by exposing its Mapi properties.


We are pleased to announce “Aspose.Email Java for Ruby”, a new gem for Ruby developers. Project is aimed to provide useful examples for Ruby developers who want to utilize “Aspose.Email for Java” in their Ruby applications using Rjb – Ruby Java Bridge gem to deal with Email documents.

Download, Installation and Usage

Please check the links below to find instructions on downloading, installing and using Aspose.Email Java for Ruby gem.


You can downloaded latest version from:

Quick Start Tutorial

Include the required files for working with the “createnewemail.rb” example.

require File.dirname(File.dirname(File.dirname(__FILE__))) + '/lib/asposeemailjava'
include Asposeemailjava
include Asposeemailjava::CreateNewEmail


Aspose.Email Java for Ruby Examples

This initial version of the gem provides the following examples:

Working with Email

  • Create New Email
  • Update and Save an Email
  • Converting Email Messages
  • Manage Attachments in Email Message
  • Save Message as Draft
  • Customizing Email Headers
  • Extracting Email Headers
  • Displaying Email Information on Screen

Working with Outlook Message (MSG) Files

  • Parsing Outlook Message Files
  • Creating and Saving Outlook Contacts
  • Creating and Saving Outlook Tasks
  • Creating and Saving Outlook Notes
  • Working with Distribution Lists

Working with Outlook Personal Storage (PST) Files

  • Create New PST
  • Adding MapiContact to PST
  • Adding MapiTask to PST
  • Adding MapiJournal to PST
  • Adding MapiCalendar to PST
  • Adding MapiNote to PST
  • Adding Files to PST
  • String Searching in PST with Ignore Case
  • Search Messages and Folders in a PST by Some Criteria

Aspose.Email Java for Ruby Documentation

Aspose.Email Java for Ruby Documentation is available to guide developers to get familiar with the specific resources and operations within the Aspose.Email Java for Ruby.

Start a Free Trial Today

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

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.