更改Google脚本的源电子邮件通知地址 [英] Change source e-mail notification address for Google Script

查看:142
本文介绍了更改Google脚本的源电子邮件通知地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谢谢你的时间!需要google-apps-script帮助。
我为电子邮件通知创建了Google脚本代码。默认情况下,电子邮件通知是从我的电子邮件地址发送的。我需要将电子邮件发件人地址更改为不同的地址。所以,我改变了脚本的所有权,但没有任何改变,脚本仍然从我的原始帐户发送电子邮件。请帮助。

解决方案

更改所有权不是强制性的,您必须执行的操作是使用其他帐户运行脚本。 / p>

您创建一个脚本并可能触发并从原始帐户设置它。将发件人的电子邮件更改为另一个帐户。停止触发并从其他账户设置脚本。



发件人将在运行脚本时成为新帐户。



Stéphane

Thank you for your time! Need help with google-apps-script. I created Google Script code for E-mail notifications. By default, the E-mail notifications are sent from my e-mail address. I need to change the E-mail sender address to a different one. So, I changed the ownership of the script, but nothing changed, the script still sends E-mails from my original account. Please, help.

解决方案

changing ownership is not mandatory what you have to do is to run the script with the other account.

You create a script and probably a trigger and setup it from original account. To change email of sender to another account. Stop trigger and setup script from the other account.

The sender will now be the new account as it run the script.

Stéphane

这篇关于更改Google脚本的源电子邮件通知地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆