Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lesson email #17

Open
wants to merge 6 commits into
base: gh-pages
Choose a base branch
from

Conversation

James-S-Santangelo
Copy link
Member

  • Script to automatically send current day's lesson as Email to UTM bio department. Note: Current receiving email is James' gmail account for testing. Add additional Emails to receivers list in script for testing.
  • Script requires sender Email be specified as command-line argument. Currently, this must be a UToronto Email.
  • User will be prompted for UTORID and password following execution.

parser = argparse.ArgumentParser(
prog="Send Email to UTM biology department with details for current day's programming workshop, including link to livestream.")
parser.add_argument(
'sender', help="Email from which to send Email. Currenty, must be UToronto Email.", type=str)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/currenty/currently

sender = args['sender'] # Get sender from command-line

# Email sent to all addresses in list
receivers = ['[email protected]', '[email protected]']
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this have the listserv added to it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants