hwgdb Smith added the comment:
Sorry, the Gmail web is correctly.
--
___
Python tracker
<https://bugs.python.org/issue39771>
___
___
Python-bugs-list mailin
hwgdb Smith added the comment:
And i just send a mail to my Gmail. I view it using web, it is incorrectly!
--
___
Python tracker
<https://bugs.python.org/issue39
hwgdb Smith added the comment:
https://litmus.com/blog/infographic-the-2019-email-client-market-share
And there is a survey about email client market share. You see outlook is top 3.
--
___
Python tracker
<https://bugs.python.org/issue39
hwgdb Smith added the comment:
I think program's goal is to solve problem, not solve the "standard".
OK, if you insist that "standard" has the Top priority, could you please tell
me a way to change the default behavior of the new api to use the "=?utf-8?b?
hwgdb Smith added the comment:
Microsoft outlook 2016 MSO(16.0.4266.10001) x64
--
Added file: https://bugs.python.org/file48925/outlook_screenshot.jpeg
___
Python tracker
<https://bugs.python.org/issue39
hwgdb Smith added the comment:
Microsoft outlook 20116 MSO(16.0.4266.10001) x64
Foxmail 7.2 (build 7.026)
I use these two email client. All display incorrectly. And I have uploaded the
screenshot.
--
Added file: https://bugs.python.org/file48924/foxmail_screenshot.jpeg
hwgdb Smith added the comment:
Why there are two different representations of the same file name? It displays
incorrectly when use the EmailMessage API filename representation.
--
___
Python tracker
<https://bugs.python.org/issue39
hwgdb Smith added the comment:
Using utf-8 doesn't display correctly on my mail client.
So i thought it might work using GBK, and I try to change the
Content-Disposition filename using GBK.
And just now, I print the legacy Api MIMEMultipart.as_string(), I found it
using utf-8 too
hwgdb Smith added the comment:
I have uploaded just now. Thank you.
--
Added file: https://bugs.python.org/file48920/email bug.rar
___
Python tracker
<https://bugs.python.org/issue39
hwgdb Smith added the comment:
"but msg.as_string() doesn't change. " , I mean using
filename=file_name
or
filename=("GBK", "", f"{file_name}")
or
filename=("utf-8", "", f"{file_name}")
msg.as_string()
New submission from hwgdb Smith :
here is the partial code:
msg = EmailMessage()
file_name = "超e保3000P.csv"
ctype, encoding = mimetypes.guess_type(file_name)
if ctype is None or encoding is not None:
ctype = "application/octet-stream"
maintype, s
11 matches
Mail list logo