Kaydet (Commit) aa183d45 authored tarafından Caolán McNamara's avatar Caolán McNamara

emailmerge33fix: #i113134#

üst 444742b5
...@@ -153,8 +153,8 @@ class PyMailSMTPService(unohelper.Base, XSmtpService): ...@@ -153,8 +153,8 @@ class PyMailSMTPService(unohelper.Base, XSmtpService):
if len(textbody): if len(textbody):
mimeEncoding = re.sub("charset=.*", "charset=UTF-8", flavor.MimeType) mimeEncoding = re.sub("charset=.*", "charset=UTF-8", flavor.MimeType)
if mimeEncoding.find('charset=UTF-8') == -1: if mimeEncoding.find('charset=UTF-8') == -1:
mimeEncoding = mimeEncoding + "; charset=UTF-8" mimeEncoding = mimeEncoding + "; charset=UTF-8"
textmsg['Content-Type'] = mimeEncoding textmsg['Content-Type'] = mimeEncoding
textmsg['MIME-Version'] = '1.0' textmsg['MIME-Version'] = '1.0'
textmsg.set_payload(textbody) textmsg.set_payload(textbody)
......
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