# Template: example3 # This defines a more complex template in which # variable substitution is used within the input form # as well as the output form. It also modifies the # MAIL_HEADER definition in order to achieve the # (somewhat unusual) effect of creating an e-mail # message that has the same value for the To: and # From: fields. # The action is to mail this out. The mail header is redefined # below so that a copy goes back to the sender ACTION=mail # Define some defaults and formatting settings SUBJECT=Test of Mailmerge BCC=downeyt@fiu.edu # Adjust some of the formatting directives TITLE=Example3 Mailmerge Form MULTIVALUE_FORMAT=COMMAS # This is the input form. Notice how the variables @TITLE@, # @FROM@ and @SUBJECT@ are used to set the values of some # of the fields. INPUT_FORM=
Age: Gender:
What browser are you using right now?
Mosaic
Netscape
Chimera
Cello
Viola
Other (specify)
. # This is the modified e-mail header. We're making the # To: From: and Reply-to: fields all point to the same # address: the @FROM@ variable. Since this is the template # used in the on-line example, I wanted it this way so # that remote users would receive the e-mail message they # mailed out (and I wouldn't be flooded with bogus "surveys"). MAIL_HEADER= To: @FROM@ From: @FROM@ Reply-to: @FROM@ Cc: @CC@ Bcc: @BCC@ Subject: @SUBJECT@ X-mail-agent: mailmerge v1.1 . # This is the output form. OUTPUT_FORM= Thank you for trying out Mailmerge. If you filled out your return address correctly, you will receive a copy of this via e-mail. You entered the following answers to the "survey" questions: *Personal Information* You are a @AGE@ year old @GENDER@ *Computer usage* You regular use @COMPUTER@ computer(s), and are currently using the @BROWSER@ WWW browser. Thanks for giving it a whirl! Lincoln Stein .