Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attendee without email address. #266

Closed
jenstroeger opened this issue Jul 12, 2018 · 1 comment
Closed

Attendee without email address. #266

jenstroeger opened this issue Jul 12, 2018 · 1 comment

Comments

@jenstroeger
Copy link

jenstroeger commented Jul 12, 2018

From the docs and examples it seems that the following is the recommended way of creating an ATTENDEE entry:

>>> attendee = vCalAddress('MAILTO:maxm@example.com')
>>> attendee.params['cn'] = vText('Max Rasmussen')
>>> attendee.params['ROLE'] = vText('REQ-PARTICIPANT')
>>> event.add('attendee', attendee, encode=0)

However, I would need that entry without the email address. The following works:

>>> attendee = vText('')
>>> attendee.params['cn'] = vText('Max Rasmussen')
>>> attendee.params['ROLE'] = vText('REQ-PARTICIPANT')
>>> event.add('attendee', attendee, encode=0)

This generates a valid entry

ATTENDEE;CN="Max Rasmussen";ROLE=REQ-PARTICIPANT:

(note the trailing :) but this seems somewhat clumsy to me. What’s the recommended approach here?

@jenstroeger
Copy link
Author

jenstroeger commented Jul 16, 2018

The specification says that:

attendee   = "ATTENDEE" attparam ":" cal-address CRLF

where attparam can be empty, and cal-address is a RFC 1738 URI or other IANA schemed data item. As such, perhaps about: or data: would work, i.e.

>>> attendee = vCalAddress('ABOUT:Max Rasmussen')

This validates, works with Apple Calendar, but the Google Calendar shows no attendee names (see also this forum post).

@collective collective locked and limited conversation to collaborators Aug 30, 2023
@niccokunzmann niccokunzmann converted this issue into discussion #535 Aug 30, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

3 participants