Breadcrumb
- Sabre Red 360 Software Development Kit Help
- Desktop Red Apps
- Red App Sample Plug-ins
- com.sabre.redapp.example.cf.email Sample
com.sabre.redapp.example.cf.email Sample
The com.sabre.redapp.example.cf.email 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:
-
Activator.java
gets an Activator instance and obtains a ISRWCommunication instance. -
EmailServiceEditor.java
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. -
EmailServiceEditorInput.java
accepts input in the editor. -
The
redapp.xml
requests authorization to use the com.sabre.edge.platform.optional.agenttask.email.EmailService service.
Running the Sample
-
In Eclipse, import the com.sabre.redapp.example.cf.email plug-in into your workspace and add it to your run configuration.
-
Launch Sabre Red 360 from your run configuration, and log in with your CERT Sabre ID.
-
From the Tools > Other menu in Sabre Red 360, choose Email Service Editor.
-
Fill the fields: From, To, Subject, Body and click Send button.
-
E-Mail Composer will appear with populated fields.