Work with Email Messages in the Cloud

No software download required. Get the power to send or manipulate email messages in the Cloud.

  Start Free Trial
Aspose.Email Cloud SDK for Ruby

Aspose.Email Cloud SDK for Ruby

 
 

Email management in Cloud

Aspose.Email Cloud SDK for Ruby is developed on top of REST API for creating email message, adding attachments to emails, setting Email properties, Updating Email Properties . Get the power to work with common email file formats including Outlook MSG, EML and MHT files.

 

Advanced Features of Aspose.Email Cloud SDK for Ruby

 

 

Create new Email

 

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

 

Convert between message formats

 

Add attachments to email

 

Download attachments from message files

Get Started with Email Management

No software download required. it is easy to get started with Aspose.Email Cloud SDK for Ruby and there is nothing to install. Simply create an account at Aspose for Cloud and get your application information. Once you have the App SID & key, you are ready to give the Aspose.Email Cloud SDK for Ruby a try on any platform that supports HTTP requests and responses. The SDK can be used to create email archiving applications capable of managing and manipulating email messages.

Add Attachments to Email

Aspose.Email Cloud SDK for Ruby is capable of dealing with Attachments for emails. It allows you to add an attachment to email message with few code lines. The Attachment can be any file type and once uploaded to Cloud storage, you can simply access it with name and add to email message. All these operations will be performed in Cloud.

Add email attachment - Ruby


AsposeApp.app_key_and_sid("", "")
@email_api = EmailApi.new
@storage_api.put_create("email_test.eml", File.open("../../../data/" << "email_test.eml","r") { |io| io.read } )
@storage_api.put_create("README.TXT", File.open("../../../data/" << "README.TXT","r") { |io| io.read } )
@email_api.post_add_email_attachment("email_test.eml", "README.TXT")

Download Email Attachments

Aspose.Email Cloud SDK for Ruby enables the developers to access and download message attachments from a mailbox store via common communication protocols such as IMAP and POP3.

Convert Email messages to supported Formats

Aspose.Email Cloud SDK for Ruby allows you 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.

Get/Set Message Properties

Aspose.Email Cloud SDK for Ruby provides the capabilities to read as well as Set Message properties such as From, To, Subject, Bcc, CC, Body, Date, Priority, Attachments etc.

Set Message Property - Ruby


AsposeApp.app_key_and_sid("", "")
@email_api = EmailApi.new
@storage_api.put_create("email_test.eml", File.open("../../../data/" << "email_test.eml","r") { |io| io.read } )
property_name = "Subject"
email_property = EmailProperty.new
email_property.name = "Subject"
email_property.value = "This is a new subject"
@email_api.put_set_email_property("email_test.eml", property_name, email_property)
 

Support and Learning Resources

 
  

Aspose.Email also offers, Email processing SDKs for other popular languages, as listed below: