CFPOP Attachment Error (apparent bug)

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

  1. #1

    Default CFPOP Attachment Error (apparent bug)

    Using CFPOP to retreive mail, if a Content-Disposition Header isn't
    formed a certain way, CFPOP appears to ignore the attachment.

    A standard jpg attachment header appears to be as follows

    ------_=_Part_UNIQUEIDENTIFICATION
    Content-Type: image/jpeg;
    name="SOMEFILENAME"
    Content-Transfer-Encoding: base64
    Content-Description: SOMEFILENAME
    Content-Disposition: attachment;
    filename="SOMEFILENAME"

    Note the line below Content-Type is a tab, then name="SOMEFILENAME"

    While using a Cingular cell phone (Motorola V551) to send an email
    with a photo attachment, the following attachment header is sent.

    ------=_Part_UNIQUEIDENTIFICATION
    Content-Type: image/jpeg
    Content-Transfer-Encoding: base64
    Content-Location: SOMEFILENAME
    Content-ID: <SOMEFILENAME>
    Content-Disposition: inline

    Note that the 2nd line name="SOMEFILENAME" doesn't exist.

    When I use CFPOP to download this message, CFPOP doesn't process the
    attachment.

    If I go into the mail server and manually edit the message and add the
    2nd line, as follows.

    ------=_Part_UNIQUEIDENTIFICATION
    Content-Type: image/jpeg
    name="SOMEFILENAME"
    Content-Transfer-Encoding: base64
    Content-Location: SOMEFILENAME
    Content-ID: <SOMEFILENAME>
    Content-Disposition: inline

    Now, if I attempt to process this message using CFPOP, it will
    successfully process the attachment inside of the message.

    When I look at RFC 2183 ([url]http://www.faqs.org/rfcs/rfc2183.html[/url]), it
    appears that the content header as sent by Cingular is valid.

    Let me know if anyone needs further detail or clarification.


    steverobison Guest

  2. Similar Questions and Discussions

    1. #30074 [NoF->Csd]: apparent symbol table error with extract($blah, EXTR_REFS)
      ID: 30074 Updated by: shire@php.net Reported By: owen dot beresford at murphx dot com -Status: No Feedback...
    2. #30074 [Com]: apparent symbol table error with extract($blah, EXTR_REFS)
      ID: 30074 Comment by: shire at facebook dot com Reported By: owen dot beresford at murphx dot com Status: No...
    3. Apparent Permissions Issue
      I have a client who uses Contribute 3.11 because she believes it to be easier to use than Dreamweaver. However, when she tries to open certain...
    4. Command Event firing without apparent cause
      I am building a control with among other controls is a datagrid. The data grid, when populated has twenty-five text columns and a single input...
    5. e mail error when trying to open an attachment
      iwhen i try to open an e mail attachment, it says oe has removed access to the following unsafe attachments. im using xp home
  3. #2

    Default Re: CFPOP Attachment Error (apparent bug)

    I suspect that this is due to a lack of support for the Content-Location
    header, which is part of the Cingular headers but not part of the standard jpg
    attachment example.

    I found a couple cfpop bugs/enhancements for CFMX 7, one for support for
    Content-Location, bug report 53799. This will provide support for that header
    according to RFC 2557.


    serat Guest

  4. #3

    Default Re: CFPOP Attachment Error (apparent bug)

    going at that message via javamail (both thru cf and java) i can see that the
    message contains an attachment but can't return it unless handled as a special
    case (ie the code modifications i used to get this attachment blows up
    w/"normal" mail w/attachments). is it really just w/cf?


    PaulH 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