GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - python/webhook-mailer: GitHub Webhooks -> Email

BranchesTags
Open more actions menu

Latest commit

 

History

66 Commits
66 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
requirements
requirements
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
mailer.py
mailer.py
 
 
python-version
python-version
 
 
test_mailer.py
test_mailer.py
 
 
tox.ini
tox.ini
 
 

Repository files navigation

A webhook to send every CPython commit to python-checkins mailing list. It's based on python/the-knights-who-say-ni written by Brett Cannon.

Requirements

  • CPython 3.7
  • aiohttp
  • aiosmtplib

See requirements for details.

Configuration

You can use following environment variables to configure the mailer webhook:

  • SENDER_EMAIL: This is required.
  • RECIPIENT_EMAIL: This is required.
  • SMTP_HOSTNAME: This is optional. Defaults to 'localhost'.
  • SMTP_PORT: This is optional. Defaults to 1025.
  • SMTP_USERNAME: This is optional.
  • SMTP_PASSWORD: This is optional.
  • PORT: This is optional. Defaults to 8585.

Usage

$ [email protected] [email protected] SMTP_USERNAME=spam SMTP_PASSWORD=eggs python3 mailer.py

Development

You can use aiosmtpd as an SMTP server during development:

$ python -m aiosmtpd -nd -l localhost:1025

Testing

Testing requires tox to be installed, then is as simple as running

$ tox

To run the linter, reformatter, and tests in one shot.

About

GitHub Webhooks -> Email

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Security policy

Security policy
Activity
Custom properties

Stars

4 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.