Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'args': 0.07; 'subject:form': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'arguments:': 0.16; 'positional': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:sending': 0.16; 'subject:when': 0.16; 'there?': 0.16; 'wrote:': 0.18; 'this?': 0.23; 'header:User-Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'url:python': 0.33; 'subject:the': 0.34; 'message.': 0.35; 'but': 0.35; 'charset:us- ascii': 0.36; 'url:org': 0.36; 'url:library': 0.38; 'needed': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'url:3': 0.61; 'within': 0.65 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dave Angel Subject: Re: Cannot form correctly the FORM part of the header when sending mail Date: Thu, 5 Sep 2013 10:33:20 +0000 (UTC) References: <47707536-3398-4ce7-9872-da90073d7e93@googlegroups.com> <522847af$0$2743$c3e8da3$76491128@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 174.32.174.36 User-Agent: XPN/1.2.6 (Street Spirit ; Linux) 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1378377220 news.xs4all.nl 16012 [2001:888:2000:d::a6]:45826 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:53688 On 5/9/2013 05:36, Ferrous Cranus wrote: > > > nikos@superhost.gr [~]# cat /tmp/err.out > sendmail => 13-09-05 12:20:53 (, > TypeError("sendmail() missing 2 required positional arguments: > 'to_addrs' and 'msg'",), ) > nikos@superhost.gr [~]# > > but all of the needed args are within MESSAGE. > Cant it take it from there? > Do you know how to find a link like this? http://docs.python.org/3.3/library/smtplib.html#smtplib.SMTP.sendmail -- DaveA