Home  |   Guide to VP-ASP  |   Advanced Form Handling  |      Purchase
Quick Links

Home page

Purchase

FAQ

Help and Support

Advanced Form Handling

 

Mail Setup

The hard work has been done for you. Try Advanced Form Handling

  Mailing 
 

Mailing Set-up

Mailing requires the following information:

  • Your email address
  • Your mail server
  • Your mail driver
  • The subject of the email

 

Mailing Hidden Fields

The hidden fields can be pated into your form. Then chnage the values to match your site.

 

<input type=hidden name="config_emailaddress" value="you@somewhere.com">
<input type=hidden name="config_emailname" value="Advanced Form Handling Test">
<input type=hidden name="config_emailsubject" value="Test Form Completed">
<input type=hidden name="config_emailsystem" value="smtp.yourmailserver.com">
<input type=hidden name="config_emaildriver" value="aspmail">

 

Mail Setup Configuration

These are the configuration options related to mailing.

More information on configuration  

More information on attachments.

More information on templates

 

 

config_emailaddress

 

The email address to receive the response
For example:
config_emailaddress="me@mysite.com" For multiple addresses use a  comma to separate the emails.

config_emailaddress="me@aa.com,other@bbb.com"

config_emailsubject The subject of the email. 
config_emailsubject="Test form completion"
config_emailsystem The mail server. This value is very web site dependent. If you are unsure please ask your web host:
For Example:
config_emailsystem="mail.mysite.com"
config_emaildriver The mail driver used to actually send mail. This is the name of an external interface that your web host will have installed so that ASP programs can communication with the mail server. Valid values are: ASPMAIL, ASPEMAIL, CDONTS, CDOSYS, JMAIL, JMAL44, OCXMAIL. 
For example
config_emaildriver="ASPMAIL"

 

Optional Email Configuration

config_emailtemplate The name of the pattern file to be used to construct email responseto you. For more on patterns click here If there is no pattern file, a file is dynamically created for use. 
For example
config_emailtemplate="mytemplate.txt"
config_emailresponder Values can be Yes or No. No means that the person completing the form will not receive an confirming email. Yes sends a confirming email to the responder
config_emailresponderfield The form field that represents the email address of the responder. This is required if config_emailresponder="Yes". This the form field that has the email address of the responder. Since all forms are different, you need to tell AFH which form field holds the responder email address. For example"

config_emailresponderfield="emailaddress"

config_emailattachment If you wish an attachment to be sent to the responder, this is the file name of that attachment. For example:
config_emailattachment="c:/myfilename.xxx"
config_emailrespondertemplate Temaplte used to send email to responder. If not supplied AFH generates one dynamically with all the form fields. Sample supplied is testrespondertemplate.txt