123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <HTML>
- <HEAD>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: DOCS
- (C) Copyright IBM Corp. 2005, 2008
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
- IBM Corp.
- -->
- <TITLE>IBM Cognos Java EmailUI Program Sample</TITLE>
- <link rel="STYLESHEET" type="text/css" href="../../../webcontent/samples/samplesFonts.css">
- </HEAD>
- <BODY>
- <p class="headerTitle"><img src="../../../webcontent/samples/sdk/asp/images/go_logo_small.gif"> IBM Cognos Sample Programs</p>
- <p class="FormLabel">EmailUI.java - Emails a report.</p>
- <p class="formText">The Java EmailUI sample program contains methods that execute a report and send it to a particular user or contact list members.</p>
- <br>
- <!-- * * * * * * * * * -->
- <!-- -->
- <!-- Dependent Files -->
- <!-- -->
- <!-- * * * * * * * * * -->
- <p class="FormLabel">Dependent Files</p>
- <p class="formText">Associated files are contained under the java sample folder.<br>
- Additional files required for running are identified in the CLASSPATH definitions in run.bat file.</p>
- <!-- * * * * * * * * * -->
- <!-- -->
- <!-- How To Run -->
- <!-- -->
- <!-- * * * * * * * * * -->
- <p class="FormLabel">How To Run The Sample Program</p>
- <p class="formText">Double click on the file run.bat.<br><br>
- A window will be opened containing:<br>
- - Sample Option selection dropdown box<br>
- - Report selection dropdown box<br>
- - Email command button<br>
- - URL text box<br>
- - Output Pane<br>
- <br>
- Select a sample option from the drop down box, select a report, and click on the 'Email' button to run the sample program.</p>
- <!-- * * * * * * * * * -->
- <!-- -->
- <!-- Expected Results -->
- <!-- -->
- <!-- * * * * * * * * * -->
- <p class="FormLabel">Expected Results</p>
- <p class="formText">When the 'Email Selected User' option is selected, the user is prompted to type in a valid email address for the email. When the 'Email' command button is clicked on this form, the program executes the selected report and sends the output to the email address that was provided.</p>
- <p class="formText">
- When the 'Email All Contacts' option is selected, and the 'Email' command button is clicked, the program executes the selected report and sends the output to all contact members.</p>
- <!-- * * * * * * * * * -->
- <!-- -->
- <!-- Documentation -->
- <!-- -->
- <!-- * * * * * * * * * -->
- <p class="FormLabel">Documentation</p>
- <p class="formText">The IBM Cognos Software Development Kit Developer Guide contains additional information about the samples. See the chapter titled 'Methods' and the appendix titled 'Code Samples and Language-Specific Coding Practices'.</p>
- <p class="formText">Please note that the samples are not intended to be treated as end-user applications. Refer to the sample code for examples of how to use the API when developing your own applications.</p>
- </BODY>
- </HTML>
|