CFMailParam and file names

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default CFMailParam and file names

    when using the attached code the filename is changed from the original to
    ATT(rannum).dat...what am I doing wrong?

    <cfmail to="email@foo.org"
    from="helpdesk@foo.org"
    subject="Subject"
    type="html" >
    <cfmailparam file="\\server\share\path\#upload_file#" type="application\pdf">
    Here is the latest staff update.
    </cfmail>

    JoeyTMann Guest

  2. Similar Questions and Discussions

    1. File paths and File names generated by Contribute
      I'm demo-ing Contribute and have a question. I have a some calendar pages to which I am linking. These are normally created incrementally, not...
    2. Sending files with CFMAIL and CFMAILPARAM question
      I am generating a PDF filename based on the URL, and I can verify that the file does get created correctly, but my problem is that once the...
    3. Can cfmailparam send files with wordspaces in filename
      Hi I am working on a site (in Flash) where a client selects an image on their harddrive and sends it to the Server where it is attached to an email...
    4. CFMAILPARAM removing Plus Signs from File Path
      I had a problem with an attachment and found that CFMAILPARAM would look for the file with Plus Signs replaced with spaces. So I put in valid path,...
    5. Is there a size limit on attachments using cfmailparam?
      I have a Flash MX swf which uploads a Jpeg to a directory on my ISP's server and then, using cfmailparam file = '...blah path blah...', attaches it...
  3. #2

    Default Re: CFMailParam and file names

    Nevermind, the idiot that I am forgot <cfoutput> tags around this block.....
    JoeyTMann 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