MailSerf Example: Specifying Followup Links


This example shows how to define links that will be provided at the end of the followup output from a submitted form.

The following HTML form sends a message to the address specified in the To field, with the subject MailSerf links example. The contents of ex_ftail.html are appended to the default form submission response. Three links are provided after that, as specifed by the link1, link2, and link3 directives....

<form action="/cgi-bin/mailserf" method="POST">
    <input type="hidden" name="hdr:subject" value="MailSerf links example">
    <input type="text" name="hdr:to"> To<p>
 
    <input type="text" name="comments" > Comments<p>

    <input type="hidden" name="ctl:followup_tail" 
     value="/mytools/mailserf/ex_ftail.html">
 
    <input type="hidden" name="ctl:link1_url" 
     value="/mytools/mailserf">
    <input type="hidden" name="ctl:link1_mesg" 
     value="Back to the MailSerf home page">

    <input type="hidden" name="ctl:link2_url" 
     value="/mytools/mailserf/examples.html">
    <input type="hidden" name="ctl:link2_mesg" 
     value="MailSerf Examples">

    <input type="hidden" name="ctl:link3_url" 
     value="/mytools/mailserf/ex_flinks.html">
    <input type="hidden" name="ctl:link3_mesg" 
     value="Specifying Links">
    
    <input type="submit">
    <input type="reset">
</form>


To

Comments


Return to the MailSerf Examples