I've got an automated mailing system with MIMEText, and I would like to change the font of the text in one line.
How do I do that, can you help me please?
Thanks.
MIMEText will generate the mail in plaintext (which is generated in a monospaced font, and there's nothing you can do about it) and as HTML.
With HTML, you could simply wrap your e-mail in a font or font face (the last one, if you need to indicate only the font's family) tag:
<font="Font Name Here">Your e-mail here</font>
Obs: you can only accomplish that if your recipient is reading mail in an HTML capable email client.
Python - How to change the font with MIMEText