XMS3 ;ISC-SF/GMB-SMTP Send (RFC 822) ;04/15/2003 12:44
Source file <XMS3.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
HEADER(XMZ,XMZREC,XMFROM,XMNETNAM) | ; RFC 822 - Header Records
; These records are what you see when you do a "QN" at the prompt: ; "Message Action: Ignore//" |
|
NETID(XMZ) | ;
|
|
TOLIST(XMZ,XMNETNAM) | ;
|
|
TOFORMAT(XMTO,XMPREFIX) | ;
|
|
TO(XMTO) | ;
|
|
TOSEND(XMSG) | ;
|
|
TEXT(XMZ) | ; Send body of text
|
|
RCPTERR(XMERRMSG,XMZ,XMZREC,XMNVFROM,XMRCPTO,XMRCPT,XMIEN) | ; Non-delivery to recipient
|
|
MSGERR(XMSITE,XMINST,XMERRMSG,XMZ,XMZREC,XMNVFROM,XMRCPT) | ;
; If a message is rejected at a site for any reason (the whole message, ; not just one recipient), then this message may be sent. |
|
SENDER(XMZ,XMZREC,XMNVFROM,XMIEN,XMDELFWD,XMERRMSG) | ; Function returns 'to whom to send error message'
|
|
DELFWD(XMZ,XMIEN,XMFWDR,XMERRMSG) | ; Delete user's forwarding address
|
|
REC | ; Read the next line of text from the message. When called for the
; first time, returns the first line. ; In: ; XMZ - IEN of the message in file 3.9 ; XMPOS - (optional) line number of the previous line read ; Default is .999999 ; Out: ; XMPOS - line number of XMRG ; XMRG - =the next line of text, if OK; ="" if end of text reached ; XMER - =0 if OK; =-1 if end of text reached |
|
SEN | ; Send a line to the return message
|
|
OPEN | ; Open the reverse message path
|
|
CLOSE | ; Close the reverse message
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP("XM" | MSGERR+7!, MSGERR+20, MSGERR+21*, MSGERR+26, MSGERR+27! |
^XMB("NETNAME" | NETID+18 |
^XMB(3.7 - [#3.7] | DELFWD+3 |
^XMB(3.9 - [#3.9] | HEADER+6, HEADER+8, HEADER+13, HEADER+25, HEADER+27, NETID+2, NETID+4, NETID+9*, NETID+10*, NETID+12 , NETID+13, TOLIST+2, TOLIST+3, TOLIST+4, TEXT+4, TEXT+5, RCPTERR+14, MSGERR+9, MSGERR+18, SENDER+2 , SENDER+7, DELFWD+6, REC+11, REC+13, SEN+1*, CLOSE+1* |
Name | Line Occurrences |
---|---|
$$NETID | HEADER+5 |
$$SENDER | RCPTERR+8, MSGERR+19 |
$$TO | TOFORMAT+3 |
$$TOFORMAT | TOLIST+2, TOLIST+4 |
DELFWD | SENDER+5 |
TOLIST | HEADER+36 |
TOSEND | TOLIST+6, TOLIST+9, TOLIST+10 |
Name | Field # of Occurrence |
---|---|
^( | MSGERR+20* |
^("K" | HEADER+14 |
^(0 | TOLIST+2, TOLIST+4 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DT | NETID+8, CLOSE+1 |
DUZ | DELFWD+7 |
>> ER | HEADER+3, HEADER+4, HEADER+5, HEADER+6, HEADER+11, HEADER+13, HEADER+15, HEADER+17, HEADER+18, HEADER+20 , HEADER+21, HEADER+23, HEADER+25, HEADER+30, HEADER+32, HEADER+34, HEADER+36, TOLIST+3, TOLIST+6, TOLIST+8 , TOLIST+9, TOLIST+10, TEXT+4, TEXT+9 |
>> ER("MSG" | TEXT+9* |
U | HEADER+3, HEADER+4, HEADER+11, HEADER+14, HEADER+15, HEADER+16, HEADER+18, HEADER+19, HEADER+20, HEADER+23 , HEADER+27, HEADER+30, HEADER+31, HEADER+32, HEADER+34, NETID+2, NETID+4, NETID+9, TOLIST+2, TOLIST+4 , RCPTERR+10, MSGERR+18, MSGERR+23, SENDER+3, SENDER+6, SENDER+9, DELFWD+3, DELFWD+6, CLOSE+1 |
XMADDR | DELFWD+4~, DELFWD+6*, DELFWD+8 |
>> XMC("MAILMAN" | TOLIST+2, TOLIST+4 |
>> XMCM("START" | RCPTERR+4, MSGERR+13 |
XMCNT | MSGERR+3~, MSGERR+20*, MSGERR+21 |
XMCRE8 | NETID+1~, NETID+2*, NETID+3, NETID+4*, NETID+5*, NETID+7*, NETID+8*, NETID+9, NETID+10, NETID+18 |
XMDELFWD | SENDER~, SENDER+5 |
XMDOM | TOFORMAT+1~, TOFORMAT+2*, TOFORMAT+4 |
>> XMER | REC+12*, REC+13* |
XMERRMSG | RCPTERR~, RCPTERR+5, RCPTERR+8, RCPTERR+12, MSGERR~, MSGERR+4, MSGERR+5, MSGERR+6*, MSGERR+14, SENDER~ , SENDER+5, DELFWD~, DELFWD+9 |
XMERROR | DELFWD+4~, DELFWD+7, DELFWD+8 |
XMFDA | RCPTERR+1~, MSGERR+10~, DELFWD+4~ |
XMFDA( | RCPTERR+3*, RCPTERR+4*, RCPTERR+5*, RCPTERR+6*, MSGERR+12*, MSGERR+13*, MSGERR+14*, MSGERR+15*, MSGERR+16* |
XMFROM | HEADER~, HEADER+12, HEADER+17, SENDER+8~, SENDER+9*, SENDER+10, SENDER+11 |
XMFULL | DELFWD+4~, DELFWD+7, DELFWD+8 |
XMFWD | DELFWD+2~, DELFWD+3*, DELFWD+7, DELFWD+9 |
XMFWDADD | DELFWD+4~ |
XMFWDR | SENDER+1~, SENDER+3*, SENDER+4, SENDER+5, DELFWD~, DELFWD+1, DELFWD+3, DELFWD+9 |
XMFWDREC | SENDER+1~, SENDER+2*, SENDER+3, SENDER+6 |
XMIEN | TOLIST+1~, TOLIST+2*, TOLIST+3*, TOLIST+4, TOLIST+10, RCPTERR~, RCPTERR+2, RCPTERR+8, MSGERR+3~, MSGERR+8* , MSGERR+9*, MSGERR+11, MSGERR+18, MSGERR+19, SENDER~, SENDER+2, SENDER+5, DELFWD~, DELFWD+6 |
XMIENS | RCPTERR+1~, RCPTERR+2*, RCPTERR+3, RCPTERR+4, RCPTERR+5, RCPTERR+6, MSGERR+10~, MSGERR+11*, MSGERR+12, MSGERR+13 , MSGERR+14, MSGERR+15, MSGERR+16 |
XMINRE | HEADER+7~, HEADER+8*, HEADER+9*, HEADER+10 |
XMINST | MSGERR~, MSGERR+9 |
XMINSTR | RCPTERR+1~, RCPTERR+15, MSGERR+3~, MSGERR+26, DELFWD+4~ |
XMINSTR("ADDR | FLAGS" , DELFWD+5* |
XMINSTR("FROM" | RCPTERR+9*, MSGERR+22* |
XMNAME | MSGERR+3~, MSGERR+18*, MSGERR+21 |
XMNETNAM | HEADER~, HEADER+16, HEADER+36, TOLIST~, TOFORMAT+2 |
XMNVFROM | RCPTERR~, RCPTERR+8, MSGERR~, MSGERR+19, SENDER~, SENDER+7, SENDER+12 |
XMPARM | RCPTERR+1~, RCPTERR+15, MSGERR+3~, MSGERR+26 |
XMPARM(1 | RCPTERR+10*, MSGERR+23* |
XMPARM(2 | RCPTERR+11*, MSGERR+24* |
XMPARM(3 | RCPTERR+12*, MSGERR+5* |
XMPARM(4 | RCPTERR+13* |
XMPARM(5 | RCPTERR+14* |
XMPIECES | TOSEND+2~, TOSEND+3*, TOSEND+4, TOSEND+5 |
>> XMPOS | REC+10*, REC+11*, REC+12, REC+13 |
XMPREFIX | TOFORMAT~, TOFORMAT+4 |
XMRCPT | RCPTERR~, RCPTERR+13, MSGERR~, MSGERR+9 |
XMRCPT( | MSGERR+9 |
XMRCPTO | RCPTERR~, RCPTERR+11 |
XMREMID | NETID+11~, NETID+12, NETID+13*, NETID+14*, NETID+15, NETID+16 |
>> XMRG | REC+12*, REC+13* |
XMS0AJ | TEXT+1~, TEXT+3*, TEXT+4*, TEXT+5, TEXT+9 |
>> XMSEN | HEADER+3, HEADER+4, HEADER+5, HEADER+10, HEADER+12, HEADER+14, HEADER+16, HEADER+17, HEADER+19, HEADER+21 , HEADER+22, HEADER+24, HEADER+29, HEADER+31, HEADER+33, HEADER+35, TOSEND+6, TOSEND+8, TEXT+8 |
XMSG | HEADER+3*, HEADER+4*, HEADER+5*, HEADER+10*, HEADER+12*, HEADER+14*, HEADER+16*, HEADER+17*, HEADER+19*, HEADER+21* , HEADER+22*, HEADER+24*, HEADER+29*, HEADER+31*, HEADER+33*, HEADER+35*, TOLIST+2*, TOLIST+5*, TOLIST+6, TOLIST+7* , TOLIST+9, TOLIST+10*, TOSEND~, TOSEND+1, TOSEND+3, TOSEND+4, TOSEND+5*, TOSEND+7*, TOSEND+9*, TEXT+5* , TEXT+6*, TEXT+7*, SEN+1 |
XMSGHOLD | TOSEND+2~, TOSEND+4*, TOSEND+7 |
XMSITE | MSGERR~, MSGERR+24 |
>> XMSLINE | SEN+1*, CLOSE+1 |
XMTO | TOLIST+1~, TOLIST+4*, TOLIST+6, TOLIST+7, TOFORMAT~, TOFORMAT+2, TOFORMAT+3*, TOFORMAT+4, TO~, TO+1 , TO+2*, TO+3*, TO+4, RCPTERR+1~, RCPTERR+8*, RCPTERR+14, RCPTERR+15, MSGERR+3~, MSGERR+19*, MSGERR+20 , MSGERR+21, MSGERR+25*, MSGERR+26* |
XMTXT | DELFWD+4~ |
XMZ | HEADER~, HEADER+5, HEADER+6, HEADER+8, HEADER+13, HEADER+25, HEADER+27, HEADER+36, NETID~, NETID+2 , NETID+4, NETID+9, NETID+10, NETID+12, NETID+13, NETID+16, NETID+18, TOLIST~, TOLIST+2, TOLIST+3 , TOLIST+4, TEXT~, TEXT+4, TEXT+5, TEXT+9, RCPTERR~, RCPTERR+2, RCPTERR+8, RCPTERR+14, MSGERR~ , MSGERR+9, MSGERR+11, MSGERR+18, MSGERR+19, SENDER~, SENDER+2, SENDER+5, SENDER+7, DELFWD~, DELFWD+6 , REC+11, REC+13, SEN+1, CLOSE+1 |
XMZBSKT | HEADER+26~, HEADER+27*, HEADER+28, HEADER+29 |
XMZREC | HEADER~, HEADER+3, HEADER+4, HEADER+11, HEADER+14, HEADER+15, HEADER+16, HEADER+18, HEADER+19, HEADER+20 , HEADER+23, HEADER+30, HEADER+31, HEADER+32, HEADER+34, RCPTERR~, RCPTERR+8, RCPTERR+10, MSGERR~, MSGERR+19 , MSGERR+23, SENDER~, SENDER+9 |