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).

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>