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 they are not pure

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 google-fu is

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! Did you find

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-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 still

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 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... If you have used tried using

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 the

[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

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.

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 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 VBScript

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 My

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 prevent its

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. For that reason

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 invoices

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=iso-8859-1; reply-type=original Tim Johnson [EMAIL