XMGAPI3 ;WASH ISC/REW/LH-Deliver Broadcast Msg & Mark for Vaporization ;04/17/2002 08:59
Source file <XMGAPI3.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
ENT(XMTO) | ; Meant to be invoked by a server. Delivers a message
; either to all users or to a specific user. ; The message must have been sent by the POSTMASTER@DOMAIN.EXT. ; The AUTOMATIC DELETE DATE for this message is set for each user ; to be in 7 days; 30 days if sent to a specific user. ; The message is made 'information only' and 'closed'. ; XMTO *=to all users ; DUZ=to only one person -- typically .6 to route to SHARED,MAIL ; Variables set in the server invoker: ; XQSOP Server basket name ; XQMSG Message number ; XMFROM Who sent the message |
|
SEND(XMDUZ,XMKN,XMZ,XMTO,XMFROM) | ;
|
|
FORCE(DA,XMDAYS) | ; Set Info Only, Closed statuses, and Purge date
|
|
CLEANUP(XMKN,XMZ) | ; Successfully delivered message, so remove from Postmaster Server Basket
|
|
ERR1(XMDUZ,XMKN,XMFROM) | ; Send message back to sender if not POSTMASTER@FORUM
|
|
ERR2(XMDUZ,XMKN,XMTO,XMFROM) | ; Send a message back to sender if single recipient is invalid
|