View Full Version : Attaching and sending a file through a web form

07-22-2004, 04:44 PM
Hi all,

I am currentyl trying to find a way I can browse and attach a file in a web form and then send it through to an email address. The form previously didn't have this feature and I used formMail to send it. I have added an <input type="file"> and this works to attach a file but when I send it through FormMail is just writes in the email the path of where the file was on my hard drive.

Does anybody have any clue how to do this?

thanks for any help


07-22-2004, 05:14 PM
you need the form tag to include the encrypt attribute

<form method="post" enctype="multipart/form-data" action="">