Plain text email?

2005-06-27 Thread Inkiniteo
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.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Plain text email?

2005-06-27 Thread Inkiniteo
Humm. I just create the message this way:

message = 'Serie:\t\t' + str(type) + str(series) + \
  '\t\t\tUbicación:\t\t\t' + place + '\n' + \
  'Date&Time:\t' + date

and send it with:
message = header + message
server = smtplib.SMTP('localhost')
server.sendmail('[EMAIL PROTECTED]', email, message)
server.quit()

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Plain text email?

2005-06-27 Thread Inkiniteo
I see. So... what about sending HTML email? If i send HTML tagged text,
the client will be able to read it as HTML?

For example, if i send an email with:  
Yo! will the client read a bold Yo! ?

Because i can replace tabs with tables if this is possible.

-- 
http://mail.python.org/mailman/listinfo/python-list