Results 1 to 3 of 3

Thread: csv filter not working, I get this instead:

  1. #1
    Join Date
    Aug 2013
    Posts
    3

    Default csv filter not working, I get this instead:

    A few days ago, the CSV filter was working and I got the appropriate attachment. Then, I briefly turned took out the CSV filter code. When I put it back in, the emails started showing up like this (below), and going to spam. Even after turning off my email's spam filter completely, the body of the resulting email still looks like this:


    Content-Type: text/plain; charset=ISO-8859-1




    Content-Type: text/csv; name="newstudent.csv"; charset=ISO-8859-1

    Content-Transfer-Encoding: base64

    Content-Disposition: attachment; filename="newstudent.csv"



    IlBhcmVudC9HdWFyZGlhbiIsIjAxODc2Iiwibm9yYS5tY2J1cm5ldHRAbWUuY29tIiwiU3JUZXN0

    IiwidGVzdCIsIjYxNzY5NDIwMzMiLCJjZWxsIiwiIiwidGVzdCIsInRlc3QiLCJwaXhlbC5ubUBn

    bWFpbC5jb20iLCJVbmRlciAxMCIsIk1hbGUiLCI1dGggR3JhZGUiLCJFU1QiLCIxLDIsNiw2dGgg

    R3JhZGUgTWF0aCIsIkEtbGEtQ2FydGVfNTIiLCJ0ZXN0aW5uZyIsImVhcmx5LWFmdGVybm9vbiIK

    My form code:
    HTML Code:
    <input type="hidden" name="filter" value="csv" />
    <input  type="hidden" name="filter_fields"  value="signup-type,zipcode,email,parentfirst,parentlast,parentphone,parent-phone-type,phone,studentfirst,studentlast,student-email,age,gender,grade,timezone,lessonsubject,package,promo-code,callback"  />
    <input type="hidden" name="filter_options" value="Attach=newstudent.csv" CSVHeading, />
    Please help!

  2. #2
    Join Date
    May 2008
    Posts
    1,291

    Default Re: csv filter not working, I get this instead:

    <input type="hidden" name="filter_options" value="Attach=newstudent.csv" CSVHeading, />

    In that line, CSVHeading (and the following comma) should either be removed, or should be inside the quotations marks with a comma separating it from the name of the csv file.

    ginger




  3. #3
    Join Date
    Aug 2013
    Posts
    3

    Default Re: csv filter not working, I get this instead:

    Hi Ginger,

    Thanks for letting me know. I tried removing the CSVHeading property and filter_fields completely, making my code:
    HTML Code:
    <input type="hidden" name="filter" value="csv" />
    <input type="hidden" name="filter_options" value="Attach=newstudent.csv" />
    Unfortunately, I'm still getting the same email body:
    Content-Type: text/plain; charset=ISO-8859-1




    Content-Type: text/csv; name="newstudent.csv"; charset=ISO-8859-1

    Content-Transfer-Encoding: base64

    Content-Disposition: attachment; filename="newstudent.csv"



    ImVtYWlsIiwicmVhbG5hbWUiLCJzaWdudXAtdHlwZSIsInN0dWRlbnRmaXJzdCIsInN0dWRlbnRs

    YXN0IiwiemlwY29kZSIsImFnZSIsImdlbmRlciIsInRpbWV6b25lIiwicGhvbmUiLCJwYXJlbnQt

    cGhvbmUtdHlwZSIsImxlc3NvbnN1YmplY3QiLCJwYWNrYWdlIiwicHJvbW8tY29kZSIsImNhbGxi

    YWNrIiwic3VibWl0X3RoaXJkIgoiZmRzYWZzZEBnbWFpbC5jb20iLCIiLCJBZHVsdCBTdHVkZW50

    IiwiZmRzYSIsImZkc2ZhIiwiMjIyMjIiLCIxOC0yNCIsIk1hbGUiLCJQU1QiLCI0MzQzNDM0MzQz

    IiwiY2VsbCIsIjEsMiw2LDd0aCBHcmFkZSBMYW5ndWFnZSBBcnRzIiwiQS1sYS1DYXJ0ZV81MiIs

    ImV3YWZzZGFmc2RhIiwiZWFybHktbW9ybmluZyIsIkZpbmlzaCIK


    Thanks for trying to help!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PlainTemplate not working with Filter = CSV
    By redheadkelly in forum HOWTO Guides and Tips
    Replies: 5
    Last Post: 15-Jun-2009, 04:08 AM
  2. PlainTemplate not working with Filter = CSV
    By redheadkelly in forum Community Support
    Replies: 0
    Last Post: 04-Mar-2009, 02:00 AM
  3. Bad Words Filter
    By blakefrance in forum Community Support
    Replies: 0
    Last Post: 16-Jul-2007, 12:31 AM
  4. Can filter only be used with cgi scripts?
    By Emmy in forum FormMail Subscription Support
    Replies: 2
    Last Post: 16-Oct-2005, 07:43 PM
  5. filter name
    By crabtree in forum FormMailEncoder/Decoder
    Replies: 1
    Last Post: 07-May-2004, 11:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

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