Script for forward in Gmail

250 views
Skip to first unread message

Bilag Uniconta Scanning

unread,
Jan 23, 2021, 8:12:29 AM1/23/21
to Google Apps Script Community
Can anyone help me with a script for forwarding mails in gmail:

All incoming mails WITH attachments have to:
Be forwarded to a...@abc.com with to-address or cc-addresss a...@abc.com (and not the original gmail-address)

All incoming mails WITHOUT attachments have to:
Have added a space and the word "usecontent" in the end off the subject.
To-address have to be a...@abc.com (and not the original gmail-address)
Then be forwarded to a...@abc.com with to-address or cc-addresss a...@abc.com (and not the original gmail-address)

a...@abc.com is an approved address for forward on the particular gmail-account.

Be run automatic og every 1 minute.

Thank You

Jonathan Butler

unread,
Jan 23, 2021, 3:38:00 PM1/23/21
to google-apps-sc...@googlegroups.com
A link to a tutorial online.

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/d0446ca3-5b1e-4275-a819-9f38c521287bo%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages