Last active
April 18, 2024 15:20
-
-
Save gwire/ea97360062bc9b729e783bc9bff6e54f to your computer and use it in GitHub Desktop.
Sieve script to file mails containing iCal events
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require["mime","fileinto"]; | |
## IANA registered type is "text/calendar", but some sources use "application/ics" | |
if header :mime :anychild :subtype "Content-Type" ["calendar","ics"] { | |
fileinto "calendar"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment