Thread: Import CSV

Results 1 to 10 of 16

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Location
    Chicago
    Posts
    51
    Plugin Contributions
    0

    Default Import CSV

    I am trying to import a .csv file into the newsletter add-on. The csv file is just a list of emails and it looks like this

    "[email protected]"
    "lady##################"
    "[email protected]"

    and so on. Each email is in quotes and each is on a new line. I can't get it to import correctly. Any help would be appreciated. Thanks

  2. #2
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: Import CSV

    You have to fill this field with the quotes used.

    If fields are enclosed by quotes or other character, enter it here:
    and you have to set
    Enter a sample record, using 'format' for email format field and 'email' for email.
    Use NULL to indicate fields not to import.
    Separate fields with a single space.
    to this

    email NULL NULL NULL

  3. #3
    Join Date
    Sep 2006
    Location
    Chicago
    Posts
    51
    Plugin Contributions
    0

    Default Re: Import CSV

    If in the list each email address is on a new line what do I put in the field that asks how each record is seperated?
    And for the part where it asks what each record is enclosed in do I put one " or do I put "" ?

  4. #4
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: Import CSV

    Quote Originally Posted by brotherhud View Post
    If in the list each email address is on a new line what do I put in the field that asks how each record is seperated?
    Nothing, it actually refers to Fields rather than records "Fields separated by (| , \s \t etc):"


    And for the second question. One " should do the trick.

  5. #5
    Join Date
    Sep 2006
    Location
    Chicago
    Posts
    51
    Plugin Contributions
    0

    Default Re: Import CSV

    I tried that and it still isn't working. Here is what is happening. It says imported 1 address successfully and it looks like this:

    [email protected] "[email protected] [email protected]

    and so on, I can't get these to import for the life of me

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Import CSV

    You need to get your info into the table structure format...

    You could create, or export this table in sql fmt and append your new entries and it would look something like this:

    Code:
    INSERT INTO `subscribers` VALUES (353, NULL, '[email protected]', 'HTML', 'bm9MZ0', '2007-02-06');
    INSERT INTO `subscribers` VALUES (354, NULL, '[email protected]', 'HTML', '1', '2007-02-08');
    INSERT INTO `subscribers` VALUES (355, NULL, '[email protected]', 'HTML', 'L1FreU', '2007-02-09');
    INSERT INTO `subscribers` VALUES (356, NULL, '???????????##################', 'TEXT', 'YVp2dz', '2007-02-13');
    Where each is comma separated and after appending the additional records you run/import this table
    Or a csv/excell file more on the line of:
    Code:
    353,NULL,[email protected],HTML,bm9MZ0,2/6/2007
    354,NULL,[email protected],HTML,1,2/8/2007
    355,NULL,[email protected],HTML,L1FreU,2/9/2007
    356,NULL,??????????##################,TEXT,YVp2dz,2/13/2007
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. CSV Import
    By bn17311 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 31 Dec 2011, 07:50 PM
  2. Can I import from CSV?
    By jberry610 in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 5 Sep 2009, 06:16 AM
  3. Is there a way to import text to csv
    By ackeith in forum General Questions
    Replies: 1
    Last Post: 22 May 2009, 11:48 AM
  4. csv import
    By andyuk in forum General Questions
    Replies: 1
    Last Post: 16 Dec 2006, 04:31 PM

Posting Permissions

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