On Friday 05 September 2008 05:03:30 pm Ted Roche wrote: > On Fri, Sep 5, 2008 at 6:42 PM, Tim Johnson <[EMAIL PROTECTED]> wrote: > > I've been using smtplib for years to send plain text emails > > programmatically. Now I have a customer who is requesting that I (at > > least) investigate sending invoices by email as html. > > I'm a big fan of sending invoices as PDFs. The invoices can have as > rich text and graphics as you want, print well, and work > cross-platform. > > > I would appreciate examples, URLs to documentation or discussions of the > > topic and even an argument to the contrary of sending email with embedded > > html. > > Google "HTML Email is Evil" for a pretty succinct summary. To expand on what Ted has suggested you can use ghostscript to create the PDF's on windows, linux and Mac. I have been doing it from VFP (Visual FoxPro) programs and from python for years. The invoices look very professional and are just added to the email as an attachment.
-- John Fabiani _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor