TIP: Click on subject to list as thread! ANSI
echo: qmodem_user
to: LYLE TAYLOR
from: JOHN BENNETT
date: 1995-11-24 10:51:00
subject: delete after send

LT>Is there a way to automatically delete a mail pkt after a
LT>successful ul? If so, how?
This will do it:
It's designed for the .QWK door in Wildcat BBS's.
Just change the "waitfor" text and the name of the .rep packet.

DECLARE FUNCTION SENDMAIL
CALL SENDMAIL
timeout 60
FUNCTION SENDMAIL
 WAITFOR "QWK/REP menu command"
  if exists(ConfigUploadPath+"\wildcbbs.rep") then
   send "U"
 waitfor "now"
  if upload(ConfigUploadPath+"\wildcbbs.rep", Zmodem) = 0 then
   del ConfigUploadPath+"\wildcbbs.rep"
  end if
 waitfor "QWK/REP menu command"
 end if
END FUNCTION
john.bennett@mhmr.tx.state.us
---
* CMPQwk #1.42* UNREGISTERED EVALUATION COPY
--- QScan/WC v1.18b / 01-0564
---------------
* Origin: THE POST HOLE ALTO, TX 409-858-3480 (1:19/89)

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™.