Commit 9846f638 authored by Nick Mathewson's avatar Nick Mathewson
Browse files

r15473@tombo: nickm | 2007-12-15 00:25:00 -0500

 Add a couple of print statements when we get an email and when we send a reply.

parent 5ce25d0d
......@@ -116,6 +116,7 @@ def getMailResponse(lines, ctx):
return clientAddr, f
def replyToMail(lines, ctx):
print "Got complete email; attempting to reply."
sendToUser, response = getMailResponse(lines, ctx)
if response is None:
......@@ -127,6 +128,7 @@ def replyToMail(lines, ctx):
reactor.connectTCP(ctx.smtpServer, ctx.smtpPort, factory)
print "Sending reply."
return d
class MailContext:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment