Mailto

Mailto is a form to email utility for Interaction. It provides a way to email a submitted form to a specific address given in one of the fields in the form.

Mailto is useful in any cases when you want an email to be sent as a result of a form submission. For example, you can easily create a form that sends an email to a specific individual or yourself. The argument action may also be used for example so that any posting to the Forums are also sent to a specific email address. Also, Mailto can be used to email shop orders to the owner.

With the mailto component activated, whenever a form is submitted where a field has the name "mailto", all fields in the form will be emailed to the address in the mailto field. After installing the component, the only change required is to add the following HTML field to any form you want to be emailed:

<INPUT TYPE="HIDDEN" NAME="mailto" VALUE="me@myself.com">

The form can be submitted to any location served by Interaction. You can thus integrate the form submission seamlessly instead of being limited to submit to a specific CGI. Nobody need to notice that an email has been sent.

To send a form submission to multiple receivers, separate each address with a space in the Mailto field.

Installing the Mailto Component

  1. Download the Mailto archive.
  2. Unstuff the archive (most browsers will do this for you).
  3. Find the appropriate version of the component in the folder that best matches your version of Interaction.
  4. Put the component file in the Components folder of Interaction
  5. Restart Interaction to activate the component.

Configuring Mail

You are required to provide a mailhost for Interaction to send email. Use the Mail section of the Preference dialog Interaction to declare your mailhost. Some mail servers may also require that you provide a valid email address in the From field of the Mail preferences.


This site is enhanced with Interaction.