MailSerf Example: Specifying a Followup Head and Tail


This example shows how to include the contents of specified files at the beginning and end of the standard reply from a form submission.

The following HTML form sends a message to the address specified in the To field, with the subject MailSerf followup example. The contents of ex_fhead.html are included at the beginning of the output following form submission, and the contents of ex_ftail.html are included at the end of the output....

<form action="/cgi-bin/mailserf" method="POST">
    <input type="text" name="hdr:to"> To<p>
    <input type="hidden" name="hdr:subject" 
     value="MailSerf followup example">
 
    <input type="text" name="comments" value="Comments go here"> 
     Comments<p>
 
    <input type="hidden" name="ctl:followup_head" 
     value="/mytools/mailserf/ex_fhead.html">
    <input type="hidden" name="ctl:followup_tail" 
     value="/mytools/mailserf/ex_ftail.html">
    
    <input type="submit">
    <input type="reset">
</form>


To

Comments


Return to the MailSerf Examples