Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'subject:How': 0.09; 'python': 0.10; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'hint:': 0.16; 'prerequisite': 0.16; 'subject:send': 0.16; 'wrote:': 0.16; 'python?': 0.18; 'library': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'kevin': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'message- id:@mail.gmail.com': 0.27; 'looks': 0.29; 'peterson': 0.29; 'there.': 0.30; 'up.': 0.32; 'url:python': 0.33; 'subject:attachment': 0.33; 'received:google.com': 0.35; 'could': 0.35; 'something': 0.35; 'there': 0.36; 'url:org': 0.36; 'url:library': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'anything': 0.38; 'subject:with': 0.40; 'url:3': 0.60; 'your': 0.60; 'engine': 0.62; '20,': 0.66; 'jul': 0.72; 'chrisa': 0.84; 'to:none': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=1oD56UATde4HFVxj/VrXaADEy19LXsafxJeVj2b4xxM=; b=yqftPrcqtpmYdX2Vh57UaJSjFIo7GQPJbBKSwpLF2h2XYW3dtFhNKzEz6qt+zVgi+r 3Kq7dh4kB7cbObE2IYwONQ/DJGuTov6SZ3AeRWUJ4CUFHri7/P7RieN6MbAUwNBpL4aB 5EtfeHGg5tFX5umqSyjcDCsiQaHMP5NygAdbwEHVJijT/D11Epk3v3DAfLz2HPFua4gH UtEU1qRVCbHE4Qb7g8Q0YMjt+7gqiGDUiXS0paLM+ecd6tetWX4twdHI7kNiyaxbwrWe cKdi2Z3QN39iCLp5n+TOcxMrZCTAKyhOjvXVMSgA7codYAclWlsZuyZWUSesliIP+3r5 VXjw== MIME-Version: 1.0 X-Received: by 10.107.134.81 with SMTP id i78mr5558545iod.6.1437368494630; Sun, 19 Jul 2015 22:01:34 -0700 (PDT) In-Reply-To: References: Date: Mon, 20 Jul 2015 15:01:34 +1000 Subject: Re: How we can send mail with attachment in Python? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1437368497 news.xs4all.nl 2846 [2001:888:2000:d::a6]:57625 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!news.stben.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:94205 On Mon, Jul 20, 2015 at 2:54 PM, Kevin Peterson wrote: > How we can send mail with attachment in Python? Is it any prerequisite for it? You could use your favourite search engine to look this up. Or you could poke around with the Python standard library and see if anything looks promising: https://docs.python.org/3/library/ Hint: There is something there. ChrisA