This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dandre
Recipients dandre, r.david.murray
Date 2011-07-28.19:01:19
SpamBayes Score 0.00011602354
Marked as misclassified No
Message-id <1311879680.75.0.480715318281.issue12649@psf.upfronthosting.co.za>
In-reply-to
Content
I made a test and, interestingly, I /can/ send an email to myself setting up the header like this:

h.append(b'My Name',         charset='utf-8')
h.append(b' < ',             charset='us-ascii')
h.append(b'my',              charset='utf-8')
h.append(b'@email.address>', charset='us-ascii')

The message in my Inbox will then have a To: header along the lines of
"=?utf-8?q?My Name?= <=?utf-8?q?my?=@email.address>
so the mailers are sure nice to me.

The startling part of it all seems to be that such email addresses are already out there and seem to be supported by enough mailers, albeit not by enough client-side systems.

With this non-standard approach and RFC 5335, I feel tempted to hope for a helper method which finds "the" ("an") canonical form of an email address...
History
Date User Action Args
2011-07-28 19:01:20dandresetrecipients: + dandre, r.david.murray
2011-07-28 19:01:20dandresetmessageid: <1311879680.75.0.480715318281.issue12649@psf.upfronthosting.co.za>
2011-07-28 19:01:20dandrelinkissue12649 messages
2011-07-28 19:01:19dandrecreate