Telephone: 0800 848 8301


Previously we showed you how to replicate the well known If you haven't read that article you may do so by clicking here.

Here we extend the functionality of that script by allowing the inclusion of a file.

Full support for use of these scripts is given free of charge to existing hosting customers.

Firstly create a file called fileformmail.asp and copy the following code into it.

Read the editing instructions at the top of the file to set sender and recipient email addresses, etc. Save the file and upload it to your web space.

Now to create the form that users will see. An example of the form is given below.

Upload the page containing your form and try it out. The email will get sent regardless of whether or not there is a file to include. Further error handling and customization could be added if required. If you would like to customised this script but don't have the necessary skills please contact us to discuss your needs.

If your are a client of Key One and you are having problems getting this script to work then please contact your account manager or email
© 2002 - 2007 Key One Ltd, 1 The Broadway, Basildon, Essex, SS13 3AS