+msg['Message-ID'] = "<[EMAIL PROTECTED]>" % (time.time(), random_bits,
DNS_NAME)
BTW, I've tried to reopen #3007, but got the following message:
Submission rejected as potential spam (Akismet says content is spam)
--
Ig
xt(message, 'plain', DEFAULT_EMAIL_CHARSET)
+msg['Subject'] = str(Header(subject,
DEFAULT_EMAIL_CHARSET)).replace('\n', '').replace('\r', '')
msg['From'] = from_email
msg['To'] = ', '.join(recipient_list)
server.sendmail(from_email, recipient_list, msg.as_string())
=
--
Igor Goryachev E-Mail/Jabber: [EMAIL PROTECTED]
Igor Goryachev <[EMAIL PROTECTED]> writes:
> I think it would be very useful if it was possible to send e-mail (using
> 'django.core.mail') in something different than 'us-ascii', for example,
> in 'utf-8' by default. I have tried to implement this: