Jonathan Kramer Posted May 13, 2007 Share Posted May 13, 2007 I've looked around the repository, but I don't see what I'm looking for... I'd like to have visitors to my site who come to get a file fill out a form (name, email, etc.) and have the file emailed to them. This way I can identify those who want the file. Thanks in advance for any recommendations. Jonathan Kramer Quote Link to comment https://forums.phpfreaks.com/topic/51143-form-to-send-file-via-email/ Share on other sites More sharing options...
chronister Posted May 13, 2007 Share Posted May 13, 2007 Are you wanting it to automatically attach the file to the email and send it or to simply email you their request and then you email it to them? Quote Link to comment https://forums.phpfreaks.com/topic/51143-form-to-send-file-via-email/#findComment-251807 Share on other sites More sharing options...
Jonathan Kramer Posted May 13, 2007 Author Share Posted May 13, 2007 Are you wanting it to automatically attach the file to the email and send it or to simply email you their request and then you email it to them? Hi Chronister: I'd like to automatically attach the file to the outgoing message. This way I know who has requested the file, but I need not manually send it afterwards. Jonathan Quote Link to comment https://forums.phpfreaks.com/topic/51143-form-to-send-file-via-email/#findComment-252324 Share on other sites More sharing options...
chronister Posted May 13, 2007 Share Posted May 13, 2007 I am not sure how to go about that, but take a look at this tutorial. It show how to do it http://www.drquincy.com/resources/tutorials/webserverside/sendemailattachmentphp/ Here are some more results from google regarding this subject. http://www.google.com/search?q=php+attach+file+to+email If you figure it out and get it to work successfully post back, I would be interested learning how to do this myself. Quote Link to comment https://forums.phpfreaks.com/topic/51143-form-to-send-file-via-email/#findComment-252340 Share on other sites More sharing options...
Dragen Posted May 13, 2007 Share Posted May 13, 2007 you'd need to alter the mime types for the message. setting it to allow attachements. check this site: http://apptools.com/phptools/forms/forms5.php Quote Link to comment https://forums.phpfreaks.com/topic/51143-form-to-send-file-via-email/#findComment-252356 Share on other sites More sharing options...
siwelis Posted May 13, 2007 Share Posted May 13, 2007 If your just sending text it doesn't really seem like you need to send an attachment, just send a text based email, and if you're wanting them to go to your site, just send them a link with a unique ID, and on the page with that unique ID, have a counter on there displaying how many times the file has been viewed, OR have it save the Unique user id or uniqie URL id to a database. I hope I'm not being too confusing! Quote Link to comment https://forums.phpfreaks.com/topic/51143-form-to-send-file-via-email/#findComment-252397 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.