Created
May 10, 2020 22:19
-
-
Save MotasemF/f241ac52728c3861a1b52c05058d45c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function onFormSubmit(e){ | |
var email = e.namedValues['Email address'][0]; | |
var message = "Thank you for submiting your servay your gift will be send to you soon"; | |
sendEmail(email, message); | |
} | |
function sendEmail(email, message){ | |
MailApp.sendEmail(email, "whatever", message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment