Plain text email?
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?
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?
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
