Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question 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 eb.arun@gmail.com
    Last edited by eb.arun; 08-02-2012 at 12:36 PM.

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,325
    Thanks
    60
    Thanked 525 Times in 512 Posts
    Blog Entries
    4
    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.

    PHPMailer
    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!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •