CSharp_Email_Explain.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <HTML>
  2. <HEAD>
  3. <!--
  4. Licensed Materials - Property of IBM
  5. IBM Cognos Products: DOCS
  6. (C) Copyright IBM Corp. 2005, 2008
  7. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
  8. IBM Corp.
  9. -->
  10. <TITLE>IBM Cognos Software Development Kit C# Email Program Sample</TITLE>
  11. <link rel="STYLESHEET" type="text/css" href="../../../webcontent/samples/samplesFonts.css">
  12. </HEAD>
  13. <BODY>
  14. <p class="headerTitle"><img src="../../../webcontent/samples/sdk/asp/images/go_logo_small.gif">&nbsp;IBM Cognos Sample Programs</p>
  15. <p class="FormLabel">Email.sln - Email a report to a user or contacts</p>
  16. <p class="formText">The C# Email sample program contains methods that execute a report and send it to a particular user
  17. or contact list members.</p>
  18. <br>
  19. <!-- * * * * * * * * * -->
  20. <!-- -->
  21. <!-- Dependent Files -->
  22. <!-- -->
  23. <!-- * * * * * * * * * -->
  24. <p class="FormLabel">Dependent Files</p>
  25. <p class="formText">All associated files are contained in the Email folder.</p>
  26. <!-- * * * * * * * * * -->
  27. <!-- -->
  28. <!-- How To Run -->
  29. <!-- -->
  30. <!-- * * * * * * * * * -->
  31. <p class="FormLabel">How To Run The Sample Program</p>
  32. <p class="formText">Double click on the file ../bin/Email.exe<br><br>
  33. A window will be opened containing:<br>
  34. &nbsp;&nbsp;&nbsp;&nbsp;- Email command button<br>
  35. &nbsp;&nbsp;&nbsp;&nbsp;- URL text box<br>
  36. &nbsp;&nbsp;&nbsp;&nbsp;- Select Email Option combo box<br>
  37. &nbsp;&nbsp;&nbsp;&nbsp;- Select Report Option combo box<br>
  38. &nbsp;&nbsp;&nbsp;&nbsp;- Report Path and Name text box<br>
  39. &nbsp;&nbsp;&nbsp;&nbsp;- Results Display Window <br>
  40. Select Email Option from the combo box and then click on the 'Email' button to run the sample program.</p>
  41. <!-- * * * * * * * * * -->
  42. <!-- -->
  43. <!-- Expected Results -->
  44. <!-- -->
  45. <!-- * * * * * * * * * -->
  46. <p class="FormLabel">Expected Results</p>
  47. <p class="formText">When the 'Email Selected User' option is selected, the user is prompted to select an available 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>
  48. <p class="formText">
  49. 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>
  50. <p class="formText">This sample does not demonstrate working with parameters or prompts. Select a report that does not prompt for parameter values.</p>
  51. <!-- * * * * * * * * * -->
  52. <!-- -->
  53. <!-- Documentation -->
  54. <!-- -->
  55. <!-- * * * * * * * * * -->
  56. <p class="FormLabel">Documentation</p>
  57. <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>
  58. <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>
  59. </BODY>
  60. </HTML>