Is it possible to send messages/mark messages as spam?

156 views
Skip to first unread message

Rob Cerda

unread,
Nov 24, 2016, 2:12:29 AM11/24/16
to GAM for G Suite
Hey there,

I know its possible to add labels, delete/trash messages but is it possible to send/mar emails to/as spam using gam?

Thanks

Jay Lee

unread,
Nov 24, 2016, 9:59:48 AM11/24/16
to GAM for G Suite
Try:

gam user <email> modify message query rfc822msgid:<id> addlabel SPAM doit

Jay

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/25b89c17-9f2b-41b7-bdd2-2ce2b36ed58e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Jay

Rob Cerda

unread,
Dec 5, 2016, 3:45:19 PM12/5/16
to GAM for G Suite
Thank you Jay!

That worked.  For some reason the few times i had tested it yielded no results but what you said worked fine

Thanks!


On Thursday, November 24, 2016 at 6:59:48 AM UTC-8, Jay Lee wrote:
Try:

gam user <email> modify message query rfc822msgid:<id> addlabel SPAM doit

Jay

On Thu, Nov 24, 2016 at 2:12 AM Rob Cerda <robce...@gmail.com> wrote:
Hey there,

I know its possible to add labels, delete/trash messages but is it possible to send/mar emails to/as spam using gam?

Thanks

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
--

Jay

Reply all
Reply to author
Forward
0 new messages