Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
08-02-2012, 12:33 PM #1
- Join Date
- Aug 2012
- Thanked 0 Times in 0 Posts
Explain the email function with file attachments concept
I create the form page with many textfield and two upload file type. if i click the submit button, one mail sent to the corresponding mail id with all the details filled on the form but two upload file not attached with the received mail, how to attach the files with e-mail (never stored on server). Please help me and post your answer for help to improve....
For more mail me to firstname.lastname@example.org
Last edited by eb.arun; 08-02-2012 at 12:36 PM.
08-02-2012, 12:42 PM #2
- Join Date
- Feb 2011
- Your Monitor
- Thanked 527 Times in 514 Posts
- Blog Entries
Using the mail() function with attachments is not easy. You would be better off using phpmailer which will allow you to add files to your email.
See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/
Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!