I do not have access to our corporate No-reply Email address to use GmailApp.sendEmail as an alias, so I'm stuck with MailApp.sendEmail
I already have the reply-to corrected; but I am trying to get the actual FROM on the email to show something other than my email address, any suggestions?
MailApp.sendEmail(emailAddress, "[email protected]", subject, message);
Thank you in advance.
Answer:
You can specify the option
noReplyin order to discourage recipients from responding to emails. However, you have to call the functionsendEmailin a different way:sendEmail(recipient, subject, body, options)The parameteroptionsis a Javascript option and looks like this:But keep in mind that if you use
noReplyyou can't specify areplyToaddress. If you want to provide one for them to reply I would specify it in the message. Futhermore, for future cases I recommend you to useGmailAppinstead ofMailAppas it has more features.References: