home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 June
/
PCWorld_1998-06_cd.bin
/
software
/
sharware
/
komunik
/
QMODEM
/
ALLSCRPT.ZIP
/
MAIL.SCR
< prev
next >
Wrap
Text File
|
1987-10-17
|
2KB
|
65 lines
.GEnie Automatic Mail Upload Script for Qmodem SST 3.0 +
.MAIL.SCR by Steven Aldridge (GEnie Address S.ALDRIDGE)
.Invoke the script with Alt-F when asked the parameters
.enter TIME as 00:00:00 then the file name then the
.GEnie address to send to then the subject(no spaces).
.There must be one space between each parameter.
note Script to access GEnie and UPLOAD a letter
GOTO $1-A
-A:
note You must enter the time to initiate the call
note and the filename to upload !!
note
note UPLOAD SCRIPT IS ABORTING !! SORRY
RETURN
$1-A:
beep 2000
beep 1000
note TIME to Initiate Call "$0"
note File to Send C:\PCW\"$1"
note Address to Send To "$2"
note Subject "$3"
beep 2000
beep 1000
send "~~~~~~~~~"
TURNOFF XON\XOFF NOISE
WAITUNTIL $0
RETRY:
DIAL "1" .enter your GEnie dialing directory # cannot have attc. script
TIMEOUT 10 NOGENIE
SEND "H~H~H"
WAITFOR "U#="
TIMEOUT 60 ERROR
SEND "~????????,????,200{" .enter your ID# and password here
WAITFOR "<H>elp?"
SEND "~C{"
WAITFOR "P 200?"
SEND "~4{"
WAITFOR "to send your mail"
WAITFOR "To:"
SEND "~$2~{"
WAITFOR "Carbon Copy:"
SEND "S.ALDRIDGE{" .enter your mail address here
WAITFOR "Sub:"
SEND "$3{"
WAITFOR "READY FOR INPUT"
UPLOAD C:\PCW\$1 A 2 2 > .change this directory to match your system
BREAK
WAITFOR ">"
SEND "~*S{"
WAITFOR "P 200?"
SEND "~BYE{"
RETURN
NOGENIE:
NOTE GEnie Unavailable
HANGUP
RETURN
ERROR:
NOTE E R R O R ! ! !
NOTE one or more of the parameters entered may be invalid.
NOTE check dos path and ensure the to address is correct.
HANGUP
RETURN