You can automate Outlook or other email programs to automatically generate emails that include data or text displayed on the screen.
If you prefer to run macros in pre-configured sessions instead of creating your own sessions, you can download the VBA Sample Sessions and open the generate-email.rd3x (IBM) and generate-email.rdox (Open Systems) files. The download package contains everything you need to run the macros in these files. See Download the VBA Sample Sessions.
This sample shows how to create an email that uses screen data for it's body text and adds an email address.
This macro gets or creates an Outlook application object.
Then it uses the InfoConnect CreateNewEmailMessage method to create an email message. Passing in a null value captures the entire screen and places it in the body. (Another option is to pass a region of the screen to this method captured using an InfoConnect method such as the Screen object's GetText3 method.)
After you have an email object, you can set the format, subject, recipients, and other properties just as you would if you were writing an Outlook VBA macro.