New Mail Notification [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
New Mail Notification
While a user is signed on, HP Desk notifies users of the receipt of new
mail, via the MAILTELL process, with the following message:
New mail delivered from Joanne PECK
Subject : Meeting
* The Mailroom writes a record to the IPC file
TELLIPC.MAILDB.HPOFFICE to inform Mailtell that new mail has
arrived for a user.
* If the file MTELLIPC.MAILDB.HPOFFICE exists, or is file-equated,
then all that Mailtell does is to write a record to that file.
* If MTELLIPC does not exist, and the user is signed on to HP Desk,
then Mailtell attaches the message to the New Mail Folder for that
user. The User Interface will see the message attached to the New
Mail Folder, and it will inform the user that new mail has
arrived. This is done when the user types Return at a main
prompt, or after 10 minutes if the user session is inactive.
* If the user is not signed on to HP Desk, but is logged on to MPE,
HP Desk tries to provide notification of new mail with an MPE TELL
message written to the session ID last used by the intended
recipient of the message. This is in the form:
FROM/ J6/MGR.HPOFFICE/New mail delivered from Joanne PECK
* If the user is not even logged on to MPE, then the notification is
lost.
Only one method of mail notification will be used, and the order in which
they will be used is as show above.
You can suppress the issuing of these standard messages by building or
file-equating the file MTELLIPC, in which case, HP Desk writes details of
all new mail to that file. The information in MTELLIPC may be
subsequently read by a user application program to provide an alternative
means of new mail notification.
This file may be built using the command:
BUILD MTELLIPC.MAILDB.HPOFFICE;REC=-128;MSG
If you want to suppress all new mail notification, you should use the
following equation in the stream job file SUPRVISR.MAILJOB.HPOFFICE:
:FILE MTELLIPC.MAILDB.HPOFFICE=$NULL
The MTELLIPC file is intended for programmatic access and many characters
are not printable. A typical record is shown on the next page.
MTELLIPC File Format
Field Name | Length | Meaning
| |
-------------------------------------------------------------------------------------------
| |
Message Priority | 1word | 2 = urgent, 3 = normal, 4 =
| | deferred
| |
Job/Session flag of receiving user | 1word | 0 = job, 1 = session
| |
Job/Session number of receiving | 1word |
user | |
| |
Last/current logical device of | 1word | 0 if job
receiving user | |
| |
Name of receiving user | 36bytes | Canonical form
| | (Surname,Firstname,Secondname)
| |
Node of receiving user | 8bytes |
| |
Name of sending user | 36bytes | Canonical form
| | (Surname,Firstname,Secondname)
| |
Node of sending user | 8bytes |
| |
Time written to file | 2words | (Clock Intrinsic format)
| |
Date written to file | 1word | (Calendar Intrinsic format)
| |
Unused | 13words |
| |
Sample MTELLIPC Record
________________________________________________________________________________________
| |
| |
| MTELLIPC RECORD 50 (%62, #32) |
| 00000: 001401 000021 000067 054517 052516 043454 045101 054440 .....7YOUNG,JAY |
| 00010: 020040 020040 020040 020040 020040 020040 020040 020040 |
| 00020: 020040 020040 020040 020040 020040 044120 030466 030060 HP1600 |
| 00030: 030062 045117 047105 051454 045501 052110 051131 047040 02JONES,KATHRYN |
| 00040: 020040 020040 020040 020040 020040 020040 020040 020040 |
| 00050: 020040 020040 020040 044120 032460 030060 031060 124046 HP500020.& |
| 00060: 010445 023400 020040 020040 020040 020040 020040 020040 .%'. |
| 00070: SAME: TO 000102-1 |
| |
________________________________________________________________________________________
MPE/iX 5.0 Documentation