Editing Message and Reply Headers [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
Editing Message and Reply Headers
When each received message or reply is displayed, HP Desk inserts a
header showing various details of the message, such as sender, subject,
and date of creation. The header is displayed before the first part of
the message. For example:
Start of Item 1.
Message. Dated: 11.11.91 at 1057.
Subject: Meeting
Sender: Joanne PECK / USCORP/LE Contents: 2.
TO: Sarah Wallace / MANF2/AD
Appointment request on 12.11.91 at 15.30 to 17.00.
Part 1.
This header is not part of the message, but is part of the way HP Desk
displays a message on the local HP Desk system. The header is
customizable so that all users on your system can see a header suited to
the needs of your organization. If you change the header, HP Desk will
use the new header when displaying all messages, including any existing
filed messages.
Note that these files do not actually travel with the message, but are
created at the receiving machine from the information sent within the
message.
There are two ways to tailor the Message and Reply headers:
1. Tailor an example file. Example copies of the standard headers
are provided for you to base your customization upon.
a. Use a text editor, such as TDP/3000, to edit the file
MSGHEAD or the file REPHEAD in the MAILLIB group of the
HPOFFICE account.
b. The example file is an USASCII text file, and you can put
anything you like in the file and it can be any length. If
you don't want any header to be displayed, you can delete
all the text.
c. To install either of the files, copy it into the MAILCONF
group of the HPOFFICE account, retaining the filename.
2. Work from scratch. Alternatively, you can create an USASCII text
file named MSGHEAD or REPHEAD, as appropriate, in MAILCONF group
of the HPOFFICE account.
There are a number of parameters which can be included in the layout of
the message or reply header to display standard information. These be
used to define where certain attributes of the message are to be placed,
for example the subject, date and the time of creation. Again here,
there are a number of available parameters which are activated by placing
a "!" in front of the parameter number, for example "!4" would display
the the sender's name in the specified position.
Parameter number - Parameter function
-----------------------------------------------------------------------------------------
1 - Date of creation
2 - Time of creation
3 - Subject
4 - Name of sender
5 - Number of parts
6 - Address category of the recipient (From, To, CC, BCC)
7 - Name of recipient
8 - Date of appointment request
9 - Start time of requested appointment
10 - Finish time of requested appointment
11 - Date of canceled appointment
12 - Start time of canceled appointment
13 - Finish time of canceled appointment
Parameters 8, 9 and 10 are only used if there is an appointment on the
message, and 11, 12 and 13 are only used if the message is an appointment
cancelation.
The use of these parameters is shown below. This is file MSGHEAD, which
is HP Desk's standard message header. Each of the parameters is replaced
by a value when a message is displayed by HP Desk:
Message. Dated: !1 at !2.
Subject: !3
Sender: !4 Contents. !5.
!6: !7
Appointment request on !8 at !9 to !10.
Some parameters are not applicable in all areas of HP Desk. For example
once a message has been filed, the address category will no longer be
displayed. To prevent blank spaces occurring when the header is
displayed in these cases, you can mark a line so that any text on that
line is only displayed if the parameter is to be displayed also. This is
done by inserting a percentage sign (%) followed by the parameter in
question. Alternatives to be displayed in differing circumstances can
also be supplied, particularly with appointment details. For example:
%8 Appointment on !8 at !9 to !10
%11 Appointment canceled on !11
In the first example, the line will only be displayed if parameter 8 is
present.
As with the Main Menu file, if you want the "!" character to appear you
must use a "!0" in the file.
An example of a customized message header could be:
************************************************
Pharaoh Company
message. Date: !1 at !2
Subject: !3
Sender: !4 Contents: !5
!6: !7
%8 Appointment request on !8 at !9 to !10
%11 Appointment canceled on !11 at !12 to !13
*************************************************
MPE/iX 5.0 Documentation