Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.140 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.74; '*S*': 0.02; 'welcome.': 0.07; 'subject:How': 0.09; 'cases': 0.15; 'html)': 0.16; 'to:name :python-list@python.org': 0.20; 'thanks.': 0.21; 'embedded': 0.27; 'plain': 0.27; 'optional': 0.29; 'url:2012': 0.30; 'comments': 0.33; 'from:addr:live.com': 0.33; 'to:addr:python-list': 0.33; 'text': 0.34; 'there': 0.35; 'several': 0.39; 'to:addr:python.org': 0.39; 'url:12': 0.40; 'your': 0.60; 'here:': 0.62; 'provide': 0.62; 'more': 0.63; 'url:blogspot': 0.64; 'subject:Send': 0.84; 'charset:windows-1251': 0.97 X-Originating-IP: [213.130.16.2] X-EIP: [0OGNg7zIwZfbn734InP5QGgAqIFZc2mx] X-Originating-Email: [andriy.kornatskyy@live.com] From: Andriy Kornatskyy To: "python-list@python.org" Subject: How to Send Mail Date: Mon, 3 Dec 2012 23:58:47 +0300 Importance: Normal Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 03 Dec 2012 20:58:47.0744 (UTC) FILETIME=[FD3C6400:01CDD198] X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1354568395 news.xs4all.nl 6958 [2001:888:2000:d::a6]:53489 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:34190 There are several use cases how you can send an email message: - Plain mail (text or HTML) - Mail with attachment - Alternative mail views You can provide a convenient way to email recipients to view your message i= n plain text or html with optional rich content including embedded images= =2C etc. Read more here: http://mindref.blogspot.com/2012/12/python-mail.html Comments or suggestions are welcome. Thanks. Andriy Kornatskyy =