re: howto send html mails using smtplib

2005-06-10 Thread Tim Williams
Philippe C. Martin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have the following problem: 1) I can use smtplib to send text messages 2) I can generate html 3) I want to email the html and want it to be seen by the email client as html. However, when I receive the message,

re: howto send html mails using smtplib

2005-06-10 Thread Philippe C. Martin
Tim, You are most correct, replace_header did the trick. Thanks a bunch. Philippe Tim Williams wrote: Philippe C. Martin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have the following problem: 1) I can use smtplib to send text messages 2) I can generate html 3) I

howto send html mails using smtplib

2005-06-09 Thread Philippe C. Martin
Hi, I have the following problem: 1) I can use smtplib to send text messages 2) I can generate html 3) I want to email the html and want it to be seen by the email client as html. However, when I receive the message, the email client displays it as text (code hereunder) - I assume it has to do