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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'plenty': 0.07; 'subject:file': 0.07; 'python': 0.09; 'subject:using': 0.09; 'dec': 0.15; 'file,': 0.15; 'attaching': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.17; 'file.': 0.20; 'http': 0.22; 'header:In-Reply-To:1': 0.25; 'easiest': 0.27; 'message-id:@mail.gmail.com': 0.27; 'usually': 0.30; 'file': 0.32; 'received:209.85.160.46': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'server': 0.35; 'smtp': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'step': 0.39; 'header:Received:5': 0.40; 'share': 0.61; 'subject:sent': 0.84; 'download.': 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:to :content-type; bh=aMx26CAwXKsuKjBvR17rgdKvrMJ79aHPXuVrsJVRuXA=; b=abJ8IiBptnG72dViTjQElfZcmCyHXmbXoFavoFCkjmnteDQ0b8kjHM1eqZKOOwtO6X FbYxNxijGJBCoCyTffr2/OCKQKrDVCK7VqBMF5gx684CKE5/CANqnCGzq0ZgGmgMx8lD ULXoGg3IyDWC7HD/lWaUjlVeI2vj9/xFA7bpeFF5DjwC+Ez+H16Jp1E0V4jeTboZekNN sgcwhzTLjESCuapA5WD/CcYJjaqYTZBmwXiKzJCt0d67DDwKuv9DnyY6tp9YjzZPxRGD +jJl2Gp/9kqBu+8z01QzOH869fn3PzoObHeg9m1Q+bhKE3t/w/XVevR5fxzDqE2ytp3Y VHKw== MIME-Version: 1.0 In-Reply-To: <1d8228ff-8f9e-4258-8927-2f964c36d8bf@n5g2000vbk.googlegroups.com> References: <1d8228ff-8f9e-4258-8927-2f964c36d8bf@n5g2000vbk.googlegroups.com> Date: Tue, 4 Dec 2012 21:07:49 +1100 Subject: Re: using smtp sent large file upto 60MB From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1354615672 news.xs4all.nl 6930 [2001:888:2000:d::a6]:58891 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:34213 On Tue, Dec 4, 2012 at 7:15 PM, moonhkt wrote: > How to using python send file uptp 60MB ? Step one: Don't. SMTP is almost never the best choice for sending huge files around. There are plenty of other ways to share files; send an email with instructions on how to access the file, rather than attaching the file. For general consumption, the easiest way is usually to include a URL for HTTP download. If it's something internal, you might want to put the file on a shared-access FTP server or file share. ChrisA