8000 GitHub - python/webhook-mailer at 349b8213174a8785da70da84a6b8f4af1f86ea80
[go: up one dir, main page]

Skip to content

python/webhook-mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.6
  • aiohttp
  • aiosmtplib

See requirements.txt 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.
  • HTTP_PORT: This is optional. Defaults to 8585.

Usage

$ SENDER_EMAIL=sender@example.com RECIPIENT_EMAIL=recipient@example.com python3 mailer.py

Development

You can use aiosmtpd as an SMTP server during development:

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

About

GitHub Webhooks -> Email

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Contributors 2

  •  
  •  
0