代码之家  ›  专栏  ›  技术社区  ›  Tony BenBrahim

谷歌日历插入不发送邀请电子邮件

  •  0
  • Tony BenBrahim  · 技术社区  · 9 年前

    final Event event = new Event()
        .setSummary(topic)
        .setStart(new EventDateTime().setDateTime(startTime).setTimeZone(timezone))
        .setEnd(new EventDateTime().setDateTime(endTime).setTimeZone(timezone))
        .setAttendees(Arrays.asList(new EventAttendee().setEmail(inviteeEmail), new EventAttendee().setEmail(hostEmail)))
        .setOrganizer(new Event.Organizer().setEmail(hostEmail))
        .setHangoutLink(null);
    try {
        final Event insertedEvent = getCalendarService(googleAccountCredential).events().insert(CALENDAR_PRIMARY, event)
                 .setSendNotifications(true).setOauthToken(googleAccountCredential.getToken()).execute();
        return insertedEvent.getId();
    } catch (final Exception e) {
    

    我尝试过类似问题中列出的建议,但没有结果。 是否存在不发送邀请电子邮件的任何条件?

    更新 :当受邀者与发件人在同一个Google for Work域中时,电子邮件会发出,但当他们不在时(例如mike@acme.com吸引人的joe@gmail.com,joe没有收到邀请电子邮件)

    1 回复  |  直到 9 年前
        1
  •  1
  •   Community Mohan Dere    6 年前

    您可能需要尝试中给出的解决方案 G Suite Administrator Help ,

    要确保收到新的、更改的或取消的邀请的通知,您需要更新默认通知设置。看见 Customize your notifications .

    此外:

    使用谷歌日历,您可以自定义接收通知的方式和时间。您可以自定义新的、更改的和取消的邀请的通知。您还可以自定义邀请答复的设置。

    有关说明,请参阅 Change your default notification settings .

    其他信息也可以在中找到 Receiving notifications .

    最后,如果这些仍然不起作用,您可能还需要检查 Google forum 关注未发送活动邀请。或者,您也可以记录遇到的问题 here .