home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
ONLINE
/
IMPRO
/
AUTORPLY.ZIP
/
autoreply.txt
< prev
Wrap
Text File
|
1996-11-18
|
2KB
|
57 lines
AutoReply.cmd
An autoresponse script for Inet.Mail
The AutoReply.cmd script will send an automatic response
to the sender of the message based on the username the
message was sent to.
This means you can setup a username of "info" and specify
its local delivery process to be "autoreply.cmd". When
Inet.Mail calls AutoReply, it will take the username
passed in and append ".txt" to it. It will send this
file back to the sender.
You need to do a few things to make it work:
1. On line 24 of AutoReply.cmd, put the hostname of your
machine. Replace the 'example.com' with your hostname. The
single quotemarks are necessary.
2. Put an environment variable in your config.sys as
SET AUTOREPLY=c:\autoreplydir
Where it points to the directory containing the files to
be sent back.
3. Alternatively, comment out line 39 (using the rexx /* */
comment delimenters. Then uncomment line 40. On line
40, set AutoReply equal to the directory storing your
reply files.
4. Set up as many usernames as you want autoreplies for. They
should all start your AutoReply.cmd script. The script bases
its reply on the username.
5. The following command files need to be available on the PATH
somewhere:
AppendLock.cmd
LockOpen.cmd (included in the Steward distribution)
LockClose.cmd (included in the Steward distribution)
Lock.cmd (included in the Steward distribution)
CopyLock.cmd (included in the Steward distribution)
6. The From address will be set to the autoreply address. This means
if your autoreply address is "info@example.com", then the From address
of the message going back will list that.
7. You may optionally specify a ReplyTo address to use for
every message sent. This is on line 22. Put a fully qualified
email address between the single quotes.
That's all there is to it.