Add Email and Make Default Send As Address

291 views
Skip to first unread message

Michael Tobias

unread,
Sep 14, 2023, 9:41:45 AM9/14/23
to GAM for Google Workspace

After running this command successfully: gam csv alias.csv gam create alias "~Alias" user "~EmailAddress"  

I run the this command: gam csv alias.csv gam user "~EmailAddress" sendas "~Alias" "~AliasName" default treatasalias and get the following error.

ERROR: Missing argument: Expected <EmailAddress>

Help: Syntax in file /Users/mtobias/bin/gamadv-xtd3/GamCommands.txt

Help: Documentation is at https://github.com/taers232c/GAMADV-XTD3/wiki

2023-09-14T13:20:34.158+00:00,0/4,Waiting for 1 running process to finish before terminating

But it looks like it still does set the alias as the default send as address.

Is there error expected?

Ross Scroggs

unread,
Sep 14, 2023, 9:54:15 AM9/14/23
to google-ap...@googlegroups.com
Michael,

I can create this error:
$ gam user "testuser1" sendas "" "Foo" default treatasalias
Command: /Users/admin/Documents/GoogleApps/GAM3/gam.py user testuser1 sendas >>>""<<< Foo default treatasalias

ERROR: Missing argument: Expected <EmailAddress>
Help: Syntax in file /Users/admin/Documents/GoogleApps/GAM3/gam/GamCommands.txt
Look at alias.csv, make sure that there are no rows with data in any columns other that EmailAddress, Alias and AliasName

Ross
----
Ross Scroggs



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/f32837be-875d-4d65-81b4-12d6f6b6ce8cn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages