Home > Software engineering >  Is there a possibility of choosing the predetermined alias from a gmail account to send mails from a
Is there a possibility of choosing the predetermined alias from a gmail account to send mails from a

Time:08-25

I've a script that send emails from different accounts and it's send by the alias from that account. The problem is that i've to send it from the email that alias is predeterminated in the account and when y choose 'from: Alias[0]' in the GmailApp, not always the predeterminated is the 0.

Is there any other possibility to send it from the alias predeterminated directly?

CodePudding user response:

Use the Gmail API, more specifically the REST Resource users.settings.sendAs (I'm don't know if this is possible with the Advanced Gmail Service). For this you will have to use the URL Fetch Service (Class UrlFetchApp)

Related

  • Related