Re: msg.attach multiple attachments and passing vars to html

2010-08-31 Thread Chris Rebert
On Tue, Aug 31, 2010 at 5:44 PM, MRAB wrote: > On 01/09/2010 00:24, aurfal...@gmail.com wrote: >> Also, is it somehow possible to pas python vars to html? >> >> My goal to to have an email that says something like; >> >> Welcome to ACME. >> A few LINKS to get you started. >> Your user name is USR

Re: msg.attach multiple attachments and passing vars to html

2010-08-31 Thread MRAB
On 01/09/2010 00:24, aurfal...@gmail.com wrote: Hi, Few questions as I've been at this for dayz. Can I do multiple attachments in order via msg.attach as so; part1 = MIMEText(html, 'html') msg.attach(part1) part2 = MIMEText(text, 'plain') msg.attach(part2) part3 = MIMEText(html, 'html') msg.at

msg.attach multiple attachments and passing vars to html

2010-08-31 Thread aurfalien
Hi, Few questions as I've been at this for dayz. Can I do multiple attachments in order via msg.attach as so; part1 = MIMEText(html, 'html') msg.attach(part1) part2 = MIMEText(text, 'plain') msg.attach(part2) part3 = MIMEText(html, 'html') msg.attach(part3) I desire to attach part1, part2 and