Skip to main content Sample

The sample demonstrates how to build e-mails to be sent by E-Mail Composer using EmailService.

The following describes the files that this sample includes:

  • gets an Activator instance and obtains a ISRWCommunication instance.

  • creates a GUI with e-mail’s fields like: from, to, body. subject and send button. It allows to compose a message and open in E-Mail Composer.

  • accepts input in the editor.

  • The redapp.xml requests authorization to use the service.

Running the Sample

  1. In Eclipse, import the plug-in into your workspace and add it to your run configuration.

  2. Launch Sabre Red 360 from your run configuration, and log in with your CERT Sabre ID.

  3. From the Tools > Other menu in Sabre Red 360, choose Email Service Editor.

  4. Fill the fields: From, To, Subject, Body and click Send button.

  5. E-Mail Composer will appear with populated fields.