home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 28
/
amigaformatcd28.iso
/
-seriously_amiga-
/
comms
/
other
/
aemail151
/
files.lha
/
ARexx.lha
/
mailto.aem
< prev
next >
Wrap
Text File
|
1998-03-08
|
593b
|
26 lines
/* Arexx AEMail Mailto Compose */
OPTIONS RESULTS
parse arg userid screen a
IF ~ SHOW("PORTS","AEMAIL1") THEN
DO
openfl = OPEN('envfile', 'ENV:AEMail_Dir', 'Read')
if (openfl ~= 1) THEN EXIT
aemdir = READLN('envfile')
CLOSE('envfile')
if (aemdir = "") THEN EXIT
aemfile = aemdir"/AEMail"
ADDRESS COMMAND "Run >NIL: "aemfile
ADDRESS COMMAND "WaitForPort AEMAIL1"
IF ~ SHOW("PORTS","AEMAIL1") THEN EXIT
END
ADDRESS AEMAIL1
SCREENTOFRONT AEMAIL
COMPOSE MAILTO userid
SCREENTOFRONT screen
if (result = 0) then okay1 "Bad Public Screen: "screen
exit