[Tutor] Sending email as html

Tim Johnson tim at johnsons-web.com
Sat Sep 6 04:33:28 CEST 2008


On Friday 05 September 2008, Kent Johnson wrote:
> On Fri, Sep 5, 2008 at 8:30 PM, Tim Johnson <tim at johnsons-web.com> 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 delivery.
>
> Given that MS Outlook sends HTML mail, I find that quite surprising.
  Since 2001, I've worked in primarily in a linux environment. I use
  kmail. When I receive an email in HTML format, kmail presents the
  content as "raw" text and then gives me the option to then format
  the email into its intended "look and feel".
  thanks
  tim
> > I've already looked at some recipes that send both html and
> > text as an alternative.... there's one at
> > http://code.activestate.com/recipes/67083/
>
> That looks about right - a multipart MIME body with both text/plain
> and text/html sections.
>
> Kent
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor




More information about the Tutor mailing list