Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ics2mailinglist

CAUTION: We have moved all of our git presence to codeberg. This repo is an archive.

If you want to maintain this code, feel free to either fork this repository or migrate it to the group on codeberg.


This script will parse a calendar ICS(e.g. from Google Calendar) and send the parsed events to a mail address. It is currently set up to take the events of the next week.

Without modification the script will retrieve the ICS from a URL. To use it with a file, just change the link of the calendar to a valid file system location and replace the following line

f = urlopen(cal_file)

with this:

f = open(cal_file)

Setup

Just replace all upper case strings with their corresponding settings:

cal_file     = 'CALENDAR_ICS_URL'
mail_from    = 'Weekly Event Notifier <SENDER_MAIL_HERE>'
mail_to      = 'LIST_MAIL_HERE'
mail_subject = 'Weekly event notifier'
smtp_user    = 'SMTP_USER_HERE'
smtp_pass    = 'SMPT_PASS_HERE'

Todo

  • Configuration file for settings
  • Switch for file/url
  • Configuration option for time range to parse

About

Simple ICS parser that posts events to an email address

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages