Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
specht committed Mar 30, 2012
1 parent b147ee1 commit 1c8be2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailserver.py
Expand Up @@ -86,7 +86,7 @@ def handleMessage(message_str):
os.system("rm " + 'snippets/' + guid + imageFilename) os.system("rm " + 'snippets/' + guid + imageFilename)


print("Arduino, print this file: snippets/" + guid + ".pbm !!1!") print("Arduino, print this file: snippets/" + guid + ".pbm !!1!")
os.system("sendEmail -f hardcopythat@gmail.com -t \"" + message['from'] + "\" -u \"Re: " + message['subject'] + "\" -s smtp.gmail.com -o tls=yes =xu hardcopythat -xp \"" + mailPassword + "\" -a \"" + pngPath + "\"") os.system("sendEmail -f hardcopythat@gmail.com -t \"" + message['from'] + "\" -u \"Re: " + message['subject'] + "\" -s smtp.gmail.com -o tls=yes -xu hardcopythat -xp \"" + mailPassword + "\" -m \"Thanks for writing!\" -a \"" + pngPath + "\"")


class MySMTPServer(smtpd.SMTPServer): class MySMTPServer(smtpd.SMTPServer):
def __init__(self, localaddr, remoteaddr): def __init__(self, localaddr, remoteaddr):
Expand Down

0 comments on commit 1c8be2d

Please sign in to comment.