|
|
|||||||||||
|
|
|||||||||||
|
|
|||||||||||
|
MAIL-A-FORM
The Mail-A-Form script will send an email as a result of filling in a form. The script is located in "http://scripts.voicegateway.com/mail-a-form.asp" and is controlled by using one or more hidden fields. Create a form in html using your favorite html editor. Specify the form method as "POST" and the action as "http://scripts.voicegateway.com/mail-a-form.asp" Create the following hidden fields in the form to control the processing: "FROM" - Set your own email address as the sender of the message. "TO" - The value should be the e-mail address you wish to receive the contents of the form. "SUBJECT" - The subject line of the e-mail message sent. "SMTPSERVER" - The name of the outbound e-mail delivery server to be used. "REPLYTO" - Set your own email address to allow your recipient to reply. "SUCCESS" - URL of a success page to display after the user has filled in and submitted the form. "SORT" - YES or NO controls whether the fields in the form will be sorted before being sent. Here is a sample form you can "cut and paste" to experiment with and get started. Please note: This script is provided for the exclusive use of Voicegateway.com Web Services customers. If you are not currently a client, you may find information on all our services at www.voicegateway.com. Unauthorized use of this script is prohibited. |