3rd time is the charm - Advance people don't l

Results 1 to 2 of 2

Thread: 3rd time is the charm - Advance people don't l

  1. #1
    Chad Franklin Guest

    Default 3rd time is the charm - Advance people don't l

    I have a simple form thats on IS4 using CDONTS that sends out an email. People said they want the ability to attach a document to the form. I could use objCDOMail.AttachFile if I know what the file will be and the location to it, but I want the user to have the ability to attach any file on their system. Something like what hotmail can do.<BR><BR><BR><BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    915

    Default RE: 3rd time is the charm - Advance people don

    Have you tried using an upload component to upload the file to a specific directory, and then using the CDONTS to send the mail, and attach this file?<BR><BR>I think many of the free file upload utilities will feed you back the filename, and then all you have to do is use the objCDOMail.AttachFile with the correct file name.<BR><BR>May also want to write a PERL, or some other type of script to delete files that are x amount old.

Posting Permissions

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