4teamwork / ftw.participation

Invite other users (registered or unregistered) to a context in plone.
3 stars 0 forks source link

don't encode email address. only the name #30

Closed tschanzt closed 10 years ago

tschanzt commented 10 years ago

@buchi This should fix the strange behavior of the From address. The problem was the difference in the behaviour in the python email header when given unicode or bytestring. If it is given a bytestring it is always encoded, but if given a unicode string it will only encode if it can't enode it with ascii. This is what we want when giving an email address.

jone commented 10 years ago

Looks good. @buchi ?

tschanzt commented 10 years ago

@buchi as discussed.