https://github.com/20tab/20tab-nullmailer
An smtpd python class to inject mails in the nullmailer spool system
https://github.com/20tab/20tab-nullmailer
Last synced: 9 months ago
JSON representation
An smtpd python class to inject mails in the nullmailer spool system
- Host: GitHub
- URL: https://github.com/20tab/20tab-nullmailer
- Owner: 20tab
- License: mit
- Created: 2014-01-28T08:47:51.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-30T09:57:41.000Z (over 12 years ago)
- Last Synced: 2025-01-30T00:43:51.503Z (over 1 year ago)
- Language: Python
- Size: 145 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
20tab-nullmailer
================
An smtpd python class to inject mails in the nullmailer spool system
To bind it on address 127.0.0.1:1025 just run it:
```sh
python twentytab_nullmailer.py
```
otherwise just use its class
```py
import asyncore
from twentytab_nullmailer import Nullmailer
# bind it on port 8025
server = Nullmailer(('127.0.0.1', 8025), False)
asyncore.loop()
```