问题
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.
回答1:
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
来源:https://stackoverflow.com/questions/32589108/change-source-e-mail-notification-address-for-google-script