By turning everything into unicode objects (unicode(string)) and then
running body.encode('utf-8') and using quoted printable, it works.
Thanks for all the help, it's really appreciated!
--
http://mail.python.org/mailman/listinfo/python-list
morphex wrote:
That works, kinda. I get strange characters now like this
Date: Mon, 7 Nov 2005 11:38:29 -0700 (MST)
Message-Id: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: Order confirmation
Content-Type: text/plain; charset=utf-8
morphex [EMAIL PROTECTED] wrote:
Date: Mon, 7 Nov 2005 11:38:29 -0700 (MST)
Message-Id: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: Order confirmation
Content-Type: text/plain; charset=utf-8
X-Bogosity: No, tests=bogofilter,
Hi,
I have an email that's in the utf-8 encoding, and I'm getting this
error message when I try to send it using smtplib:
* Module smtplib, line 688, in sendmail
* Module smtplib, line 485, in data
* Module smtplib, line 312, in send
* Module socket, line 1, in sendall
morphex [EMAIL PROTECTED] wrote:
I have an email that's in the utf-8 encoding, and I'm getting this
error message when I try to send it using smtplib:
* Module smtplib, line 688, in sendmail
* Module smtplib, line 485, in data
* Module smtplib, line 312, in send
* Module
That works, kinda. I get strange characters now like this
Date: Mon, 7 Nov 2005 11:38:29 -0700 (MST)
Message-Id: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: Order confirmation
Content-Type: text/plain; charset=utf-8
X-Bogosity: No,