英文:
How to message a Google Group all outgoing messages?
问题
Google Groups似乎没有通知设置,以便在从群组发送消息时通知并发送副本。换句话说,只有从群组发送消息的人知道它已发送,其他群组成员不会知道,除非他们手动进入群组并检查消息。
通过Google Apps Script是否可以实现这个功能?即每隔X分钟触发一个事件,以捕获从群组发送的出站消息,然后将它们发送给群组?
英文:
Google Groups don't seem to have a setting for notifying (and sending a copy) whenever a message is sent from the group. In other words, only the person that sent the message from the group knows it was sent, and the other group members don't know it unless they manually enter the group and check for messages.
Is it possible to do it through Google Apps Script? i.e. trigger an event every X minutes to catch only outgoing messages from the group, and then send them to the group?
答案1
得分: 0
我认为Apps脚本不是最佳选择,因为据我所见,当从群组界面发送电子邮件时,它们不会显示在发件人的“发送”项目中,可能可以通过Apps脚本来实现这一点,但我在文档中找不到如何处理这些电子邮件的方法。
另一种选择(如果您使用Google Workspace)是创建一个路由规则(还有另一种选择,但我将在此时专注于这个)
从管理员控制台,您可以通过转到应用程序> Google Workspace> Gmail> 路由(最后一个选项),然后在“路由”下点击“配置”来执行此操作。
然后,您只需要添加以下设置:
-
在顶部输入简短描述
-
在“要影响的电子邮件消息”下选择“出站”和“内部 - 发送”
-
向下滚动几乎到底,直到找到“还交付给”并选中复选框
-
点击“添加”选择“基本”并输入群组电子邮件,这将是电子邮件的收件人,但我们需要确保限定发件人,使其仅影响该组发送的消息,因此我们需要:
-
滚动到一个名为“显示选项”的小部分,它看起来像这样:
-
将“要影响的帐户类型”设置为“群组”
-
将“信封筛选器”设置为“仅影响特定信封发件人”,将下拉菜单保留为“单个电子邮件地址”,在“电子邮件地址”下输入群组的电子邮件
-
点击“保存”
另一种选择是使用群组界面的此设置:
但是,我不确定该设置如何工作或如何影响您的团队。
无论如何,我希望您能找到这个信息有用!
英文:
I don't think Apps script is the best option because as far as I can see when emails are sent from the groups interface they do not show on the "Send" items of the sender, there might be a way to do this through Apps script however I could not find a way to account for those email in documentation.
An alternative (if you are using Google Workspace) would be to create a routing rule (There is another alternative but I will focus on this one at this moment)
from the admin console, you can do so by going to Apps> Google Workspace> Gmail> Routing (The last option), then click "Configure" under "Routing"
Then you just need to add the following settings:
-
Enter a short description at the top
-
Select "Outbound" and "Internal - Sending" under "Email messages to affect"
-
Scroll down almost all the way until you find "Also deliver to" and check the box
-
Click "Add"select "Basic" and type in the groups email, that will be the recipient of the emails but we need to make sure to delimit the sender so it only affects the messages sent by that group so we need to:
-
Scroll all the way down to a little section called "Show options" it looks like this:
-
set "Account types to affect" as "Groups"
-
Set "Envelope filter" to "Only affect specific envelope senders" leave the dropdown with "Single email address" and under "Email address" type in the email of the group
-
Click "Save"
The other alternative would be to use this setting from the groups interface:
however I am not sure how the setting works or how it would affect your team.
In any case I hope you can find this useful!
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论