Skip to content
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

Outlook attendees #384

Open
Andrej-Marsic opened this issue Mar 14, 2023 · 1 comment
Open

Outlook attendees #384

Andrej-Marsic opened this issue Mar 14, 2023 · 1 comment

Comments

@Andrej-Marsic
Copy link

Hi there,
I'm trying to create an .ics file that I could then import to Outlook on a Mac.
I'm able to get the event down, but when I add attendees, I can see them in the .ics file, but Outlook ignores them.
Any suggestions?

    event = Event()
    event.name = "Meeting with client"
    event.begin = datetime(2023, 3, 15, 10, 0, 0)
    event.end = event.begin + timedelta(hours=1)
    event.location = "Office"
    event.add_attendee(Attendee("random_email@email.com"))
    cal = Calendar()
    cal.events.add(event)
    with open("meeting.ics", "w") as f:
        f.write(str(cal))
@N-Coder
Copy link
Member

N-Coder commented Mar 15, 2023

You could try generating an Event as you want it in Outlook, exporting it to ics and parsing that with ics.py. Then programmatically reproducing this result yields something that Outlook should correctly parse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants