Jump to content

Archived

This topic is now archived and is closed to further replies.

theteenb

PHP Email Attachments

Recommended Posts

Hi. I recently made a submission form for my site, and I have a field for people to upload files. However, I dont want the file to be uploaded. I want the file to be attached to an email I have the form(processing it) send. How would I do that?

Share this post


Link to post
Share on other sites
See this page on file uploads:

http://us3.php.net/manual/en/features.file-upload.php

And this page on attachments in email:

http://us3.php.net/manual/en/function.mail.php

You may also want to check out phpmailer (http://phpmailer.sourceforge.net/) as a much easier way of sending email with attachments.

Share this post


Link to post
Share on other sites
ok would people please stop just pointing me to places that give me information that I can't understand! I no absolutely NOTHING about PHP accept to edit the html parts. Could someone just post the code for it?

Share this post


Link to post
Share on other sites
You posted on a PHP Help board asking for help. If you want someone to write the code for you post in the Freelancers board.

Ken

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.