Google 日历 API 100% 不会发送电子邮件

问题描述 投票:0回答:1

我正在使用最新版本 v3 的 Google Calendar API 创建活动并邀请人们(通常是我们组织外部的人员)参加这些活动。有些与会者从未收到活动已创建的电子邮件。一些与会者收到了所有电子邮件。有些人成功了一半。

始终使用以下代码来创建与当前 API 文档匹配的事件:

 calendarInstance.events.insert({
        calendarId: CalendarId,
        resource: event,
        conferenceDataVersion: 1,
        sendUpdates: 'all'
    }, (err, res) => { });

我已经尝试过使用旧参数

sendNotifications: true

但是在创建活动时无法获得一致的电子邮件发送。

我看过其他解决方案,但它们似乎已经过时,并且

insert
函数的结构现在不同了。

有什么想法关于为什么 Google 可能不会为新创建的日历活动发送一致的电子邮件吗?

node.js notifications google-calendar-api
1个回答
0
投票

据我了解,提供的代码正在运行。但是,即使

sendUpdates
设置为
all
,所创建活动中的大多数来宾也会间歇性地收到邀请。

我在 Google 的问题跟踪器上发现了

Does not send invitation mails for events created through the "Advanced Calendar" API.
,该问题与您的问题类似。但是,当前状态为
Won't fix (Not reproducible)
,因为分配给该票证的个人无法复制该问题。

@ShrimpFan的评论也提出了

There are a ton of reasons as to why the emails may not be received
的好点,并且可能是
more on the email service itself
,因为用户的
the invite being marked as spam
可能会意外地发生在
or email limits being hit.
Quotas for Google Services

如果确认问题不是由我之前提到的问题引起的,并且您可以提供该问题的副本,我建议您提交新的

bug report
,了解仍在发生的异常行为。

此外,为了进一步排查问题,您还可以

Contact Google Workspace support
确保您的电子邮件服务没有问题。

© www.soinside.com 2019 - 2024. All rights reserved.