Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'charset:iso-8859-7': 0.04; 'that?': 0.05; 'subject:form': 0.07; 'string': 0.09; 'alter': 0.09; 'inserts': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'address)': 0.16; 'menu:': 0.16; 'program?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:sending': 0.16; 'subject:when': 0.16; 'wrote:': 0.18; 'retrieval': 0.19; 'header :User-Agent:1': 0.23; 'logical': 0.24; 'header': 0.24; 'posts': 0.26; 'certain': 0.27; 'header:X-Complaints-To:1': 0.27; 'van': 0.27; 'too.': 0.31; 'fault': 0.31; 'yes.': 0.31; 'there.': 0.32; 'probably': 0.32; 'totally': 0.33; 'actual': 0.34; 'subject:the': 0.34; 'problem': 0.35; 'display': 0.35; 'case,': 0.35; 'there': 0.35; 'i.e.': 0.36; 'gmail': 0.38; 'to:addr:python-list': 0.38; 'ability': 0.39; 'does': 0.39; 'to:addr:python.org': 0.39; 'address.': 0.39; 'received:org': 0.40; 'read': 0.60; 'address': 0.63; 'act': 0.63; 'kind': 0.63; 'real': 0.63; 'happen': 0.63; 'account': 0.65; 'within': 0.65; 'believe': 0.68; 'address,': 0.75; "'from'": 0.84; '2013': 0.98 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: Wed, 4 Sep 2013 11:15:15 +0000 (UTC) References: <31119ff9-f3ff-4eba-99eb-5b0d85f94008@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 8bit 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: 41 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1378293335 news.xs4all.nl 15926 [2001:888:2000:d::a6]:35549 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:53615 On 4/9/2013 05:57, Ferrous Cranus wrote: > Τη Τετάρτη, 4 Σεπτεμβρίου 2013 5:14:31 π.μ. UTC+3, ο χρήστης Piet van Oostrum έγραψε: > >> Where does it display that? >> Do you happen to read that mail in a Microsoft program? > > yes. Thunderbird. When did Microsoft take over Thunderbird's development???? In any case, Thunderbird has te ability to display the actual message received. See menu: View->MessageSource > >> If yes, then it is the fault of that program. Read the mail in some >> other program and you will probably see that the proper From address is >> there. > > i used retrieval of 'nikosatsuperhost.gr' within GMail's service. > > Same way of dispalyment there too. > > >> The problem is that Gmail inserts a "Sender" header with your account >> (email address) and certain Microsoft programs use that to display as >> the From address instead of the real From address. > > I think it's logical to act that way. > > The real 'FROM' address that GMail uses to send mail from my 'mail.py' to some recipient is my real GMail's account address, and not the FROM address that any arbitrary poster posts in a html webform hwich can be totally fake, i.e. jackass@hahaha.com > > I believe any kind of mail client will be have this way. > We need some way to dicth the Sender FROM string or alter it to the one uses in the webform. -- DaveA