Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form mail including attachments

Status
Not open for further replies.

aaronjonmartin

Technical User
Jul 9, 2002
475
GB
Hi,

I am setting up a html form for my website which users complete all the fields and can attach their cv (whether it be in word format or txt). When they click submit i want to be emailed with the contents of all the fields completed and with the cv file they attached as an attachment to the email. I would also like to send an auto reply to the email address they enter on the form saying i have recieved thier details and will be in touch. Does anybody have any information/links they can provide that would suit my needs? Iam quite inexperienced with scripting.

Thanks for reading this post

Aaron

"It's so much easier to suggest solutions when you don't know too much about the problem."
Malcolm Forbes (1919 - 1990)
 
You'll have to cobble together your own stuff. You can get these modules at
1) Use MIME::Lite to send the email. This allows you to create MIME entities in email very very easily so you can send attachments etc.

2) Use CGI.pm to retrieve your form entities and parse them. CGI.pm makes it very easy to retrieve the selected and uploaded file using the upload() method.

Thats it really, I know you are probably looking for someone to write it or a canned script but your app is custom enough that it probably won't happen that way. Time to dig in!

Happy Thanksgiving GOBBLE GOBBLE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top