[Vobject] How do you add multiple "type_param"

Tames McTigue tames at tamerz.com
Wed Oct 26 00:59:55 CDT 2016

Hi Adam,

That is what I tried when I say I used a list but it doesn't work:

email.type_param = ['INTERNET', 'WORK', 'pref']

EMAIL;TYPE=INTERNET,WORK,pref:johnDoe at example.org

It is missing the "TYPE=" for each one.

- Tames

On Tue, Oct 25, 2016 at 6:35 PM, Adam Tauno Williams
<awilliam at opengroupware.us> wrote:
> On Tue, 2016-10-25 at 16:52 +0300, Tames McTigue wrote:
>> I'm trying to create a card where the email address has this type of
>> format:
>> EMAIL;type=INTERNET;type=WORK;type=pref:johnDoe at example.org
>> I see how to add a type from the example, such as "INTERNET", but not
>> how to add three types. I tried using a list but that doesn't work,
>> it just puts a comma between each value.
> Try email.type_paramlist = [kind1, kind2, kind3, ]
> --
> Adam Tauno Williams <mailto:awilliam at whitemice.org> GPG D95ED383
> OpenGroupware Developer <http://www.opengroupware.us/>
> _______________________________________________
> VObject mailing list
> VObject at lists.skyhouseconsulting.com
> http://lists.skyhouseconsulting.com/mailman/listinfo/vobject

More information about the VObject mailing list