Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: Jozef on October 28, 2016, 01:36:16 PM

Title: Importing Contacts with a CSV file
Post by: Jozef on October 28, 2016, 01:36:16 PM
Importing Contacts with a CSV file
I had some trouble figering out, how to import an Contacts CSV file.

The format below did the trick:

First Name,Last Name,E-mail Address,
Jozef,Broeckx,[email protected],

Make sure to put a comma at the end of each line.
Double quotes around each field also works. It's the comma at the end that's mandatory.

Any other tips are welcome....http://www.roundcubeforum.net/Smileys/default/grin.gif
Title: Re: Importing Contacts with a CSV file
Post by: tester444 on January 26, 2023, 01:37:24 AM
Greetings
I appreciate your help. I didn't find that solution anywhere on the internet.
I have been inserting the emails manually for over two years.
None of the specialists nor the tool owners themselves bothered to alert on this.
I want to add another thing that the order is also essential: first name, last name, then email. Import is not accepted if the email is at the beginning.
Jozef, thank you again, have a nice day.
Title: Re: Importing Contacts with a CSV file
Post by: iamauser on January 05, 2024, 07:41:27 PM
Over 7 years later and this thread is invaluable. I'd also like to add this, if you want to import with groups the below seems to work for me:

First Name,Last Name,E-mail Address,Categories,
Title: Re: Importing Contacts with a CSV file
Post by: DonU on April 01, 2025, 03:31:53 PM
I am trying to import contacts that have multiple Groups assigned but I cannot successfully get all the groups in. Sometimes some work properly but when I rerun same file I get different results. A sample file is below.

First Name,Last Name,E-mail Address,Categories,
Christine,Adams,[email protected],MMM-1,
Andrew,Adamson,[email protected],Members;MMM-1,
Avril,Adamson,[email protected],Members;MMM-1,
Di,Agar,[email protected],,
David,Agar,[email protected],Members,


Is there a trick to this?
Title: Re: Importing Contacts with a CSV file
Post by: JohnDoh on April 01, 2025, 03:46:33 PM
The short answer is probably yes but can you tell me what settings you are using for "Import group assignments" and "Replace the entire address book"?

Semicolon should be good as a group list delimiter so I'm wondering if something else about how existing contacts are detected/ignored could be the issue.

Also what version of Roundcube?