Bugzilla – Attachment 48471 Details for
Bug 38713
Mailmerge Python script not working with multiple recipients
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for the change proposed by Fernand
0000_mailmerge_py-fix-encoding.py (text/plain), 528 bytes, created by
Simos Xenitellis
on 2011-06-27 09:50:24 UTC
(
hide
)
Description:
Patch for the change proposed by Fernand
Filename:
MIME Type:
Creator:
Simos Xenitellis
Created:
2011-06-27 09:50:24 UTC
Size:
528 bytes
patch
obsolete
>diff --git a/scripting/source/pyprov/mailmerge.py b/scripting/source/pyprov/mailmerge.py >index 4654ad3..1e6c6e7 100755 >--- a/scripting/source/pyprov/mailmerge.py >+++ b/scripting/source/pyprov/mailmerge.py >@@ -148,7 +148,7 @@ class PyMailSMTPService(unohelper.Base, XSmtpService): > textbody = textbody.value > except: > pass >- textbody = textbody.encode('utf-8') >+ textbody = unicode.encode(textbody, 'utf-8') > > if len(textbody): > mimeEncoding = re.sub("charset=.*", "charset=UTF-8", flavor.MimeType)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 38713
:
48468
|
48471
|
48475