Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: haiku23 on January 18, 2017, 05:29:09 PM

Title: Importing contacts with two emails
Post by: haiku23 on January 18, 2017, 05:29:09 PM
Hi there people. I am new here and I want to thank you in advance for sharing your knowledge.

Ok, you see I have an excell list with a lot of contacts I need to add to my mail. Some of them have two e-mail addresses and I wanted to import them, so no prob, I went and made the excell an csv document like this:

Nickname,First Name,Last Name,E-mail Address
Johny,John,Doe,[email protected]

and it worked ok, but in the case when there is a person with two emails, can some one tell me the name of the 4 column for that? I tried something like this:

Nickname,First Name,Last Name,E-mail Address,E-mail Address2
Johny,John,Doe,[email protected],[email protected]

Of course it didn't work, not that I had my hopes up with that, also I tried to look on internet about it but no one did try this before XD

Can anyone help me?
Title: Re: Importing contacts with two emails
Post by: SKaero on January 18, 2017, 06:51:36 PM
You can see the mapping here: https://github.com/roundcube/roundcubemail/blob/cb53f46d10fd87caf5db8dc2a0bd01cb0d668913/program/lib/Roundcube/rcube_csv2vcard.php#L166 It looks like you want "E-mail 2 Address"
Title: Re: Importing contacts with two emails
Post by: haiku23 on January 19, 2017, 11:55:05 AM
Yes that's it. Thank you.