Re: create Email with multiple HTML blocks embedded

2016-01-31 Thread Thomas 'PointedEars' Lahn
Thomas 'PointedEars' Lahn wrote: > See RFC 5233 and RTFM for details. RFC _5322_ (“Internet Message Format”) -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail. -- https://mail.python.org/mailman/listinfo/python-lis

Re: create Email with multiple HTML blocks embedded

2016-01-31 Thread Thomas 'PointedEars' Lahn
kevind0...@gmail.com wrote: > Following your suggestions, I now have code that looks like the below. > I get the same result. First HTML is displayed in body of email and > second shows up as an attachment. Works as designed. The message structure is correct now, but there is no plain-text pa

Re: create Email with multiple HTML blocks embedded

2016-01-05 Thread Thomas 'PointedEars' Lahn
kevind0...@gmail.com wrote: Please either do not use Google Groups and configure your newsreader accordingly (recommended), or use Google Groups to subscribe to the newsgroup so that you can specify your real name. > body = MIMEMultipart('multipart') Obviously there is redu

create Email with multiple HTML blocks embedded

2016-01-05 Thread kevind0718
The below script will send an email with one HTML file embedded and the second attached. Not really what I need. I need a Python script to create an email that contains multiple blocks of HTML in the body of the email. There is a process that will create at least one HTML file but very often t