jacobdp24 / ion

automating newsletters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ion

automating newsletters, first iteration, mostly for clubs at ucsd who want to reach their members.

to make your own you will need mail.py along with three files, two of which will never be on github for obvious privacy reasons: config.py, addresses.py, and login.py

config.py can contain anything you want, for now it contains:

  1. subject = 'some subject'
  2. message = 'some message'

address.py must contain a list of strings with destination emails and a source address

  1. emails = ['email@gmail.com', 'email2@ucsd.edu']
  2. sourceAddress = 'source@ucsd.edu'

login.py must have USERNAME and PASSWORD variables where USERNAME is just the email without the @someEmailProvider.com

1.USERNAME = 'source' 2.PASSWORD = 'super secret password'


TODO:

Build out subscription functionaility


Notes to those who stumble upon this:

at the very least, if a club wants to make their own newsletter and they log on to their .edu email through gmail the smtp server is most likely not gmail. It is probably maintained by the university, ex: smtp.universityNameHere.edu

Also, I am always looking to improve, so if you have any suggestions, want to help out, or go to UCSD and want to say hi, feel free to contact me

About

automating newsletters


Languages

Language:HTML 65.6%Language:Python 34.4%