I am wondering if there are any options for changing the FROM address of an email sent using MailApp.sendEmail.
I created a form published as a web application. Students fill out and submit the form and receive an email. I see how to change the email response to the sender address and name. I know that the email address using my address as the From address, since I am the owner of the script, and the application works like me.
Is there a way to establish that the From address belongs to another person, in this case, the instructor? I guess one way to achieve this is to make it the owner of the script and pass it through re-publishing the application for us, but I would not refuse to pass it to him. (From what I saw, the owner of the script can publish the script.)
In other words, I want the From address to represent the client for which the script is being created, and not the programmer who writes it.
I understand that this is not a desirable feature that allows a script to send email from anyone under the sun. I'm just wondering if anyone has any recommendations on how to solve my problem.
Thanks!
source share