How to create an Auto Reponse Script
This article describes how to create an auto response script for use in MDaemon.
Auto Response scripts define the messages that are returned as the result of an auto-response event. They are constructed the same as MBF files and can contain the same macros. However, several additional macros are provided which allow you to develop more powerful auto-response messages.
To create a Auto Response Script:
- Open Notepad.
- Type a greeting.
- Example: ( Greetings $SENDER$ ).
- Type a Message.
Example: Thanks for contacting me $SENDER$ about $SUBJECT$, sorry I will not be available to reply until 12/31/2005.
- Type a Subject line.
- Save file as name.rsp, this file needs to be saved in your MDaemon\App directory.
In addition to those template variables defined for MBF files, auto-response scripts can use any or all of the following macros, which override the values parsed from the original message:
MDaemon will treat this address as if it had sent the original message.
Sets the address that will receive the auto-response message, regardless of the original sender.
Controls the value of the RFC-822 ReplyTo header
Changes who is the “actual” recipient of the mail message.
ex: %SetSubject%=Subject Text
Replaces the value of the message’s subject.
ex: %SetMessageId%=ID String
Changes the ID string of the message.
ex: %SetPartBoundary%=Boundary String
Changes the part boundary.
ex: %SetContentType%=MIME type
Changes the content-type of the message.
Forces MDaemon to attach the specified file to the newly generated auto-response message.