From ebc1d1ecb3cc25188d4d2b5ca41e59dbc3d7bcf5 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Thu, 27 Jun 2019 06:55:00 -0700 Subject: [PATCH] Clean up sendOrDropEmail (#961) * Clean up sendOrDropEmail * Date allowed in all commands, only sets kwargs for import/insert * Two updates Allow headers in draft/import/insert/send email Quote arguments in todrive decscription * Make requested changes * Don't user sendser as an alias for from as they can be different things in SMTP * On import message, default to not checking for spam --- src/GamCommands.txt | 40 ++++++++++++++++++++------------- src/gam.py | 55 ++++++++++++++++++++++++--------------------- 2 files changed, 54 insertions(+), 41 deletions(-) diff --git a/src/GamCommands.txt b/src/GamCommands.txt index 254595d9..df8934db 100644 --- a/src/GamCommands.txt +++ b/src/GamCommands.txt @@ -945,12 +945,12 @@ gam calendar showacl gam calendar printacl [todrive] ::= - notifyattendees|(sendnotifications )|(sendupdates all|enternalonly|none) + notifyattendees|(sendnotifications )|(sendupdates all|enternalonly|none) The following attributes are equivalent: - notifyattendees - sendupdates all - sendnotifications false - sendupdates none - sendnotifications true - sendupdates all + notifyattendees - sendupdates all + sendnotifications false - sendupdates none + sendnotifications true - sendupdates all ::= anyonecanaddself| @@ -976,15 +976,15 @@ The following attributes are equivalent: (visibility default|public|prvate) ::= - (after