LT>Is there a way to automatically delete a mail pkt after a successful ul?
LT>If so, how?
; -----------------------------------------------------------
IF $SENDMAIL UPLOADMAIL ; Place these two lines where you would like to
UPFINISHED: ; check for mail.
; (I do it just before mail download)
;-----------------------------------------------------------
EXIT
; -----------------------------------------------------------
; Put from here DOWN at the end of your Script. If you have NO Replies,
; the script will not any of this info.
UPLOADMAIL:
Waitfor " "
Delay 100
Send " "
UPLOAD Z $REPPATH$PACKET.REP
IF $SUCCESS UPSUCCESS
GOTO UPLOADMAIL ; If NOT successful it will go back & try again.
UPSUCCESS:
TimeOut 240 EXITSYSTEM ; If your Mail Packet was uploaded OK,
DELETEF $REPPATH$PACKET.REP ; <- this line will DELETE it for you.
Waitfor " "
Delay 100
Send " "
GOTO UPFINISHED ; This will take back to where you left the Script
; -----------------------------------------------------------
I hope this will help you somewhat.
* SLMR 2.1 * Never cry over spilt milk; it might have been Bourbon.
--- PCBoard (R) v15.22/M 2
---------------
* Origin: The French Quarter 504-891-1388 Fido:1:396/44 (1:396/44)
|