Re: [Tutor] Sending email as html

2008-09-07 Thread Tim Johnson
On Sunday 07 September 2008, you wrote: > On Sun, Sep 7, 2008 at 11:27 AM, Tim Johnson <[EMAIL PROTECTED]> wrote: > > On Saturday 06 September 2008, Alan Gauld wrote: > >> There is an interersting looking link here: > >> > >> http://www.python.org/workshops/2002-02/papers/17/index.htm > > > > Yes!

Re: [Tutor] Sending email as html

2008-09-07 Thread Kent Johnson
On Sun, Sep 7, 2008 at 11:27 AM, Tim Johnson <[EMAIL PROTECTED]> wrote: > On Saturday 06 September 2008, Alan Gauld wrote: >> There is an interersting looking link here: >> >> http://www.python.org/workshops/2002-02/papers/17/index.htm > Yes! Did you find the code to go with the article? My goog

Re: [Tutor] Sending email as html

2008-09-07 Thread Tim Johnson
On Saturday 06 September 2008, Alan Gauld wrote: > "Tim Johnson" <[EMAIL PROTECTED]> wrote > > >> since PDF files are not very hard to edit with a simple text > >> editor. > >> (Never have really.) > > > > Looks like I could make up a PDF template and then put substitutions > > You could although t

Re: [Tutor] Sending email as html

2008-09-06 Thread Alan Gauld
"Tim Johnson" <[EMAIL PROTECTED]> wrote since PDF files are not very hard to edit with a simple text editor. (Never have really.) Looks like I could make up a PDF template and then put substitutions You could although they are not pure text files so you may need to use binary mode to edit th

Re: [Tutor] Sending email as html

2008-09-06 Thread Tim Johnson
On Saturday 06 September 2008, Glen Wheeler wrote: > From: "Alan Gauld" <[EMAIL PROTECTED]> > > > "Lie Ryan" <[EMAIL PROTECTED]> wrote > > > >>> programs which can edit PDFs which has somewhat destroyed > >>> their value as a read-only document format for contracts, invoices > >>> etc... > >> > >>

Re: [Tutor] Sending email as html

2008-09-06 Thread Alan Gauld
"Glen Wheeler" <[EMAIL PROTECTED]> wrote If you have used tried using any PDF editor for more than correcting typos, you'd still consider it as a read-only document. True. but for contracts or invoices just changing a 1 to a 7 or vice versa can make a big difference to the money owed! And

Re: [Tutor] Sending email as html

2008-09-06 Thread Glen Wheeler
From: "Alan Gauld" <[EMAIL PROTECTED]> "Lie Ryan" <[EMAIL PROTECTED]> wrote programs which can edit PDFs which has somewhat destroyed their value as a read-only document format for contracts, invoices etc... If you have used tried using any PDF editor for more than correcting typos, you'd st

Re: [Tutor] Sending email as html

2008-09-06 Thread Alan Gauld
"Lie Ryan" <[EMAIL PROTECTED]> wrote programs which can edit PDFs which has somewhat destroyed their value as a read-only document format for contracts, invoices etc... If you have used tried using any PDF editor for more than correcting typos, you'd still consider it as a read-only document.

Re: [Tutor] Sending email as html

2008-09-05 Thread Lie Ryan
> Message: 3 > Date: Sat, 6 Sep 2008 00:17:43 +0100 > From: "Alan Gauld" <[EMAIL PROTECTED]> > Subject: Re: [Tutor] Sending email as html > To: tutor@python.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; format=flowed; charset=

Re: [Tutor] Sending email as html

2008-09-05 Thread johnf
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 i

Re: [Tutor] Sending email as html

2008-09-05 Thread Tim Johnson
On Friday 05 September 2008, Kent Johnson wrote: > On Fri, Sep 5, 2008 at 8:30 PM, Tim Johnson <[EMAIL PROTECTED]> wrote: > > On Friday 05 September 2008, Alan Gauld wrote: > > <...> > > > >> The argument to the contrary is simple enough - its not secure and > >> vulnerable to 'virus' type attack.

Re: [Tutor] Sending email as html

2008-09-05 Thread Kent Johnson
On Fri, Sep 5, 2008 at 8:30 PM, Tim Johnson <[EMAIL PROTECTED]> wrote: > On Friday 05 September 2008, Alan Gauld wrote: > <...> >> The argument to the contrary is simple enough - its not secure and >> vulnerable to 'virus' type attack. For that reason many corporate >> firewalls >> trap or even pre

Re: [Tutor] Sending email as html

2008-09-05 Thread Tim Johnson
On Friday 05 September 2008, Tim Johnson wrote: > Sounds like nothing much has changed in 5 years. I did a project like > this in 1993 with another programming language despite my reservations > and had the client sign a "Hold Harmless" doc before I proceeded. Erratum: Should have 2003, not 1993

Re: [Tutor] Sending email as html

2008-09-05 Thread Tim Johnson
On Friday 05 September 2008, Alan Gauld wrote: <...> > The argument to the contrary is simple enough - its not secure and > vulnerable to 'virus' type attack. For that reason many corporate > firewalls > trap or even prevent its delivery. (This is due to the ability to > embed > script tags with V

Re: [Tutor] Sending email as html

2008-09-05 Thread Ted Roche
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

Re: [Tutor] Sending email as html

2008-09-05 Thread Alan Gauld
"Tim Johnson" <[EMAIL PROTECTED]> wrote 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. The argument to the contrary is simple enough - its not secure and vulnerable to 'virus' type attack

[Tutor] Sending email as html

2008-09-05 Thread Tim Johnson
Greetings: 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 would appreciate examples, URLs to documentation or discussions of the topic and even an argument t