"Inkiniteo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi guys. I have a script that sends the info by email, but i'd like to > avoid the convertion to HTML by the email client or Gmail, because it > ruins all the formatting i did (with tabs, mostly). Briefing, i wanna > be able to send SMTP mail and the receiver only get it in plain text.
As long as your mimetype is text/plain you should have minimal trouble. There's no way you can control what the recipient's mail client does, however. In particular, there are a lot of mail clients out there that handle tabs poorly. Outlook Express is the poster child for this: it ignores tabs completely, however it is by no means the only culprit. It's simply the most widespread one. In other words, use strings of spaces rather than tabs, and you'll probably find your messages coming out looking better. John Roth > -- http://mail.python.org/mailman/listinfo/python-list