To do this you need to create a template file using Notepad, and use the Custom Script Assistant in WebEasy Professional to customize your form slightly.


1) Use a text editor such as Notepad to create a template file called for the email that will be sent to you. A template is a simple text email message with markers (e.g., [code]#fieldname#[code]) that get filled in with the appropriate form data. For example:

[code]I'm interested in information about #topic#.

My name is #name# and I can be reached at #email#.

Thanks![code] should save this file with the name "template.eml". If it is automatically saved as something else (e.g.: "template.eml.txt", use My Computer or Windows Explorer to rename the file.

You will have to include markers for each form field you want to collect. You can check the name of a form field in WebEasy by selecting the field then going to the "Tools" menu and selecting "Custom Script Assistant". If you then select the "Object Events" button you should see the name of the field.

2) Use the "Link to File" option to create a link from somewhere on your web site to this file. This is so that the file becomes part of your site. You may want to add a new page to your site then add the link to this page, so that nobody can see this link.

3) In WebEasy, click on the "Send" button in your form (sometimes a second click is required when the Form's elements are grouped) and choose "Custom Script" from the Tools menu.
4) Replace the e-mail action in your script with the URL of the form mailer script on your server.

before: this.form.action=' Form';
after: this.form.action='/cgi-bin/email/screenname/template.eml';

...note that you will have to replace 'screenname' in the above with your AOL screen name.

5) Delete the line that says:

if(!(IE && MAC && V4 && !V5)) this.form.encoding='text/plain';

6) Click OK to accept the above changes.

Now if you publish your site and fill in the form, you should receive an email message containing the form data.