TIP: Click on subject to list as thread! ANSI
echo: qmodem_user
to: LYLE TAYLOR
from: FRED JOHNSON
date: 1995-11-29 09:18:00
subject: delete after send

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.