cgi script for a form to send a file to an email
I'm sure this has been created, but I can't seem to find it.
I have created a form which the site visitor will fills out and the information is send to my email address. (typical form)
I need to have a way for the site visitor to also browse his hard drive and send (upload?) a file which will attach to the email the form is sending me...
Is there a way to do this?
The form control can be created simply enough: an input element of type file. For parsing the uploaded data (and all other CGI parameters) you should use the CGI module. Then see MIME::Lite for generating the multipart e-mail message.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)