Kaydet (Commit) 907b63a0 authored tarafından Michael Stahl's avatar Michael Stahl

mailmerge.py: fix the debug strings again

Change-Id: Iceac0952b6fc9765cb12f6694260070c1c17296b
üst c5192576
...@@ -140,7 +140,7 @@ class PyMailSMTPService(unohelper.Base, XSmtpService): ...@@ -140,7 +140,7 @@ class PyMailSMTPService(unohelper.Base, XSmtpService):
bccrecipients = xMailMessage.getBccRecipients() bccrecipients = xMailMessage.getBccRecipients()
if dbg: if dbg:
print("PyMailSMTPService subject " + subject, file=dbgout) print("PyMailSMTPService subject " + subject, file=dbgout)
print("PyMailSMTPService from " + sendername.encode('utf-8'), file=dbgout) print("PyMailSMTPService from " + sendername, file=dbgout)
print("PyMailSMTPService from " + sendermail, file=dbgout) print("PyMailSMTPService from " + sendermail, file=dbgout)
print("PyMailSMTPService send to " + recipients, file=dbgout) print("PyMailSMTPService send to " + recipients, file=dbgout)
...@@ -289,7 +289,7 @@ class PyMailIMAPService(unohelper.Base, XMailService): ...@@ -289,7 +289,7 @@ class PyMailIMAPService(unohelper.Base, XMailService):
user = user.encode('ascii') user = user.encode('ascii')
password = password.encode('ascii') password = password.encode('ascii')
if dbg: if dbg:
print("Logging in, username of" + user, file=dbgout) print("Logging in, username of", user, file=dbgout)
self.server.login(user, password) self.server.login(user, password)
for listener in self.listeners: for listener in self.listeners:
...@@ -360,7 +360,7 @@ class PyMailPOP3Service(unohelper.Base, XMailService): ...@@ -360,7 +360,7 @@ class PyMailPOP3Service(unohelper.Base, XMailService):
user = user.encode('ascii') user = user.encode('ascii')
password = password.encode('ascii') password = password.encode('ascii')
if dbg: if dbg:
print("Logging in, username of" + user, file=dbgout) print("Logging in, username of", user, file=dbgout)
self.server.user(user) self.server.user(user)
self.server.pass_(user, password) self.server.pass_(user, password)
......
Markdown is supported
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