cfpop attachment

Discussion in 'Programming' started by gigamike, Feb 1, 2007.

  1. #1
    Guys,

    Im a newbie in coldfusion, please help me. Im using a cfpop tag to get the email. I need the attach files so im calling AttachmentFiles. It is tab separated, how i can separate those tab separated string inorder for me the check the extension of attachment and store it to a proper folder.

    Thanks,

    Mike
     
    gigamike, Feb 1, 2007 IP
  2. gigamike

    gigamike Active Member

    Messages:
    165
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    Hi,

    i got figure it out, coldfusion has a same function with php like the explode().

    <cfset pop_attachment_file_list = ListToArray(#pop_read.AttachmentFiles#, CHR(9))>

    Thanks,

    Mike

     
    gigamike, Feb 5, 2007 IP
  3. datropics

    datropics Peon

    Messages:
    309
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    0
    #3
    knew you could do it! :)
     
    datropics, Feb 5, 2007 IP