Abstract:
A computer implemented method and apparatus for providing the functions of electronic mail in a computer system which is integrated within a display or a window under control of a first application program which does not support electronic mail functionality. A set if mail routines displays a mailer on a first portion of the application program's display with application program data displayed in a second portion of the application program's display. The mail routines allow the user to modify the data in the application program via functionality of the application program and modify the mailer via the functionality of the mail routines. The mail routines further allow the user to perform electronic mail functions provided by the mail routines, wherein the electronic mail functions include using the application program data as content of mail messages processed by the mail routines. The functionality of the mail routines can be provided via an event preprocessor inserted into an event processing loop in the application program, wherein the event preprocessor determines whether events are pertinent to the mail routines. If so, the preprocessor processes the events to provide the electronic mail functionality and allows events which are pertinent to the application program to be processed by the application program.