Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am rogerroelofs on github.
  • I am rogerroelofs (https://keybase.io/rogerroelofs) on keybase.
  • I have a public key whose fingerprint is BEE5 963E A016 999E 4A9D D465 B8E3 FA74 0416 5F3A

To claim this, I am signing this object:

@rogerroelofs
rogerroelofs / mySMTP.py
Created November 21, 2011 18:54
first try at a python smtp server
# this was part of an sms -> email gateway
import sys
import smtpd
import asyncore
import MySQLdb # Had to install package for this ...databases/py-MySQLdb
import email
import smtplib
import socket