FROMWHOM |
This entry point asks the user whether the resulting
message should be from the user himself, or from the postmaster. If the
message is from the user himself, then the resulting message will not appear
new when delivered. If the message is from the postmaster, then it will.
Usage: D FROMWHOM^XMAPHOST(DUZ,.XMINSTR,.XMABORT)
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DUZ |
Input |
The DUZ of the user.
|
XMINSTR |
Output |
If the user wants the message to be from the
postmaster, then XMINSTR("FROM") will be set to .5; otherwise, nothing will be
set.
|
XMABORT |
Both |
The calling program will set XMABORT=0. If, inside
the called routine, the user enters up-arrow, then XMABORT will be set to 1 to
indicate that the user chose to abort the process.
|
|
SENDMSG |
This entry point takes the special instructions in
XMINSTR and uses them to set related fields within the message that is being
created.
This entry point also tells the user that the message is being sent, and then
sends it.
Usage: D SENDMSG^XMAPHOST(DUZ,XMZ,.XMINSTR)
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DUZ |
Input |
The DUZ of the user sending the message.
|
XMZ |
Input |
The message number of the message.
|
XMINSTR |
Input |
Special instructions for the message, such as who the
message is to appear to be from, and what basket the user wants the message to
be delivered to in his own mailbox.
|
|