Michal Sladek added the comment:
Changing code to:
encodedSubject = '=?utf-8?b?{0}?='.format(base64Subject)
still works properly with smtp.seznam.cz server
--
___
Python tracker
<http://bugs.python.o
Michal Sladek added the comment:
I tested the code again. Using Gmail SMTP server produces correct results,
using server smtp.seznam.cz leads to a problem (I should mention here, that
Seznam is the largest free mail provider in the Czech Republic). Here are the
differences on receiving side
Michal Sladek added the comment:
Hello Martin!
Thanks for your kind words and for giving me hints how to fill the bug
report properly. I hope this time it will be accepted (ID 14062).
Best regards
Michal
Dne 19. února 2012 19:59 Martin v. Löwis napsal(a):
>
> Martin v. Löwis add
New submission from Michal Sladek :
Hello!
I think there is a problem when adding UTF-8 subject to email message. I wrote
following function (its code is based on examples I found in offical docs)
which should send an email with UTF-8 subject, UTF-8 plain text body and
attached file when all
Michal Sladek added the comment:
I guess you don't understand me.
My script works properly. I don't need any help with it. OK? I have
found a workaround and I am happy with it for now. But I think, there
is a problem in current version of Python language.
Now, what should I do to
Michal Sladek added the comment:
Hello Eric!
I believe that there is a bug which prevents adding UTF-8 encoded
suject to multipart message properly. But because I am not a
programmer, I admin I might be wrong. So if you are a programmer and
you don't see any obvious mistake in my example
New submission from Michal Sladek :
Hello!
I am not a programmer so I appologize if I just don't understand the docs
properly. I need to wirte a function which sends emails with utf-8 encoded
subject and body. I tried something like this:
def sendMail (fromAddr, toAddr, subject,