home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem
- rem You should replace "c:\mail\iblenke" with the mailbox name you have
- rem set up for PCTCP's mail program. (hint: check PCTCP.INI)
- rem
- set pctcpmail=c:\mail\iblenke
- rem
- rem You should replace "c:\mail\mail.txt" with the mailbox name you have
- rem set in WSMTPD's dialog box.
- rem
- set mailbox=c:\mail\mail.txt
- rem
- if not exist %mailbox% goto no_mail
- copy %mailbox% %pctcpmail% > NUL:
- mail -f %pctcpmail%
- echo Remember to DELMAIL if you read it all, and nothing new came.
- goto done
-
- :no_mail
- echo Mailbox empty.
-
- :done
-
-