google apps script - Set default Send-As address using GAS -


does gas have functionality set default send-as address of user sub-domain of primary gapps domain, if script authorised super admin on domain?

i have signature script that's authorised using token super admin on domain, , hoping similar done set send-as users join.

we have several sub-domains, , users need send-as set related country they're in.

  1. if using mailapp.sendemail(), not have 'send as' option in google apps script. however, can set combination of name , replyto options simulate 'send as' option.

  2. if use gmailapp.sendemail() function, have additional option called from can use specify email address


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -