Lesson learned re: smptlib, hostname and OS X.

To allow Django to send email using smptlib, use NetInfo Manager to create a new machine whose name corresponds to the output of hostname, so that socket.gethostbyname(socket.gethostname()) returns something. (useful for laptops whose local DNS server may not know about their hostname).