Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Emailing Form Data

    I have a form set up to called data and when the submit button is pressed the
    data is emailed to me. That works fine. I am now trying to use the File
    Upload form object to allow a person to select a file from their computer and
    email it along with the other data to me. Currently it sends me the path to
    the file, but does not send the file as an attachment.

    Does anyone know if this is possible and how to do it.

    CColeman6300 Guest

  2. Similar Questions and Discussions

    1. Autopopulated form not displaying data in pdfunless the form field is clicked
      Within my online application, I have a pdf form that is auto generated and displayed to the user in the browser. My problem is that the populated...
    2. Emailing a form using PHP5
      I'm trying to send and email from a form page to me using PHP5. When I click send I get the folowing message. Warning: mail() : SMTP server...
    3. file upload form enctype="multipart/form-data
      I'm upload a file using cffile upload and that seems to work fine except I need to use enctype="multipart/form-data on the form side. This isn't a...
    4. emailing a form in .net
      I have a current form on my companies website that is a request for information form. it is down in vbscript .net I needed to add a dropdown list...
    5. mx 7 flash form The form data has expired, Please reloadthis page in your browser.
      When i first go to any flash form on my CFMX 7 server i get the following message. The form data has expired, Please reload this page in your...
  3. #2

    Default Re: Emailing Form Data

    Yes, it is quite possible but not as simple as you are attempting. You must
    either use an upload script such as PureASPUpload to upload the file to a
    directory on your server, then attach it to the email you are sent (from your
    server) or have the emailform script generate a link to the location of the
    uploaded file. Or you must specify to the user that they must place the
    desired file in a specific location on their harddrive such as C:/temp/ and
    then you can make your upload script search there to make the attachment. This
    is more work for the user so they may hate you...(just kidding) For our
    company intranet I can easily place documents in a specific directory that
    allows employees to attach and mail to customers from a web form. Using CDONTS
    it looks something like this: objCDO.AddAttachment
    ('c:\inetpub\wwwroot\intranet\emailDocs\') & Request.Form('checkboxname')
    I give the user a selection of checkboxes and the value of each is a different
    filename: <input type='checkbox' name='doc5' value='ProgramSummary.pdf' />
    Every doc that can be sent is then placed in the 'emailDocs' folder in the web
    root. Now maybe if you modify the objCDO.AddAttachment to reference a
    variable instead of a hardcoded path it might work. You could just have the
    form filefield write the value into the variable when the form is submitted.
    Hmmm, maybe I'll test that and see...

    rpmoore Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139