Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.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.122 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.76; '*S*': 0.00; 'friday,': 0.09; 'python': 0.11; 'command:': 0.16; 'dig': 0.16; 'discussion.': 0.16; 'empty,': 0.16; 'in-reply-to:': 0.16; 'references:': 0.16; 'simpson': 0.16; 'discussions': 0.16; 'wrote:': 0.18; 'command': 0.22; 'cc:addr:gmail.com': 0.22; 'print': 0.22; 'header:User- Agent:1': 0.23; '31,': 0.24; 'why.': 0.24; 'header': 0.24; 'cheers,': 0.24; 'question': 0.24; "i've": 0.25; '>': 0.26; 'somewhere': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'unix': 0.29; "doesn't": 0.30; 'cc:2**2': 0.30; 'code': 0.31; 'lines': 0.31; 'that.': 0.31; 'received:10.20.15': 0.31; 'received:10.20.18': 0.31; 'received:10.20.55': 0.31; 'received:eigbox.net': 0.31; 'file': 0.32; 'probably': 0.32; 'run': 0.32; 'linux': 0.33; 'url:python': 0.33; 'running': 0.33; 'received:10.20': 0.33; 'subject:the': 0.34; 'received:66': 0.35; 'anywhere': 0.35; 'but': 0.35; 'url:rec-html40': 0.35; "didn't": 0.36; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'should': 0.36; 'received:10': 0.37; 'skip:& 10': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'help,': 0.39; 'received:71': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'remove': 0.60; 'read': 0.60; 'easy': 0.60; 'email?': 0.60; 'logs': 0.60; 'tell': 0.60; 'new': 0.61; 'first': 0.61; 'information': 0.63; 'subject': 0.69; 'url:htm': 0.73; 'url:dtd': 0.80; 'email"': 0.84; 'happened.': 0.84; 'message)': 0.84; 'subject:Where': 0.84; 'responses': 0.93; 'url:strict': 0.95; '2013': 0.98 X-Authority-Analysis: v=2.0 cv=dt1Z+ic4 c=1 sm=1 a=gV6YC4f90sdaWLl8CV4GKw==:17 a=spKFjZujUncA:10 a=2Cs5qbXtQ68A:10 a=0U4G2F8bR1wA:10 a=OmMKortqy18A:10 a=tTExfe6FAAAA:8 a=zhCJS8KoW00A:10 a=EoIy3buNAAAA:8 a=5nIMBVU-NtvbjFibXckA:9 a=CjuIK1q_8ugA:10 a=k1LVuIZnLtkA:10 a=qMDZ_Ezp4_0A:10 a=SSmOFEACAAAA:8 a=_W_S_7VecoQA:10 a=frz4AuCg-hUA:10 a=S1zWqm8MAQgVxgAH:21 a=9MP9vxlQrmnoeofDS6o88g==:117 X-EN-OrigOutIP: 10.20.18.2 X-EN-IMPSID: igAn1l00C02gpmq01gAndQ From: inq1ltd To: python-list@python.org Subject: Re: sendmail smtplib.SMTP('localhost') Where is the email? Date: Fri, 31 May 2013 12:07:58 -0400 Organization: inqvista User-Agent: KMail/4.7.2 (Linux/2.6.37.6-24-desktop; KDE/4.7.2; i686; ; ) In-Reply-To: <20130530225512.GA60695@cskk.homeip.net> References: <7572490.mfSH6Zg6jY@mach-114-20> <20130530225512.GA60695@cskk.homeip.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart6116636.K0jqIlauFa" Content-Transfer-Encoding: 7Bit X-EN-UserInfo: ea107384e720a598200e9790e8ca8002:9d89a6cbd5a73a41b134431a25286195 X-EN-AuthUser: inq1ltd@inqvista.com Sender: inq1ltd X-EN-OrigIP: 71.246.158.50 X-EN-OrigHost: pool-71-246-158-50.rich.east.verizon.net Cc: Dennis Lee Bieber 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: 131 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370018510 news.xs4all.nl 16000 [2001:888:2000:d::a6]:51277 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46613 --nextPart6116636.K0jqIlauFa Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Your responses helped. The mailg for linux gave me information I didn't expect. regards, jol On Friday, May 31, 2013 08:55:12 AM Cameron Simpson wrote: > On 30May2013 15:48, inq1ltd wrote: > | python help, > > Please do not make new discussions by replying to an old discussion. > > It is not enough to change the subject line; unless you also remove > any References: and In-Reply-To: header lines your message is still > considered part of the old discussion. > > | I've tried this code which I got from: > | http://www.tutorialspoint.com/python/python_sending_email.htm > | > | I build this file and run it > > [...] > > | smtpObj = smtplib.SMTP('localhost') > | smtpObj.sendmail(sender, receivers, message) > | print "Successfully sent email" > > [...] > > | After running the the file and I get > | "Successfully sent email" > | > | My question is why doesn't webmaster get an email? > > Well, this suggests that the message has been accepted by the mail > system on localhost. Not that final delivery was made anywhere else. > > You now have to read the log files on your mail system to see what happened. > > One easy check to do first is to see if it is still in your mail > system but undelivered. On a UNIX system running the command: > > mailq > > should tell you that. If the queue is empty, the message has been > sent somewhere and you must dig through the logs to find out where. > If the message is in the queue then the "mailq" command will probably > give a suggestion as to why. > > Cheers, --nextPart6116636.K0jqIlauFa Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="us-ascii"

 

Your responses helped.

 

The mailg for linux gave me information I didn't expect.

 

regards,

jol

 

 

 

 

 

 

 

On Friday, May 31, 2013 08:55:12 AM Cameron Simpson wrote:

> On 30May2013 15:48, inq1ltd <inq1ltd@inqvista.com> wrote:

> | python help,

>

> Please do not make new discussions by replying to an old discussion.

>

> It is not enough to change the subject line; unless you also remove

> any References: and In-Reply-To: header lines your message is still

> considered part of the old discussion.

>

> | I've tried this code which I got from:

> | http://www.tutorialspoint.com/python/python_sending_email.htm

> |

> | I build this file and run it

>

> [...]

>

> | smtpObj = smtplib.SMTP('localhost')

> | smtpObj.sendmail(sender, receivers, message)

> | print "Successfully sent email"

>

> [...]

>

> | After running the the file and I get

> | "Successfully sent email"

> |

> | My question is why doesn't webmaster get an email?

>

> Well, this suggests that the message has been accepted by the mail

> system on localhost. Not that final delivery was made anywhere else.

>

> You now have to read the log files on your mail system to see what happened.

>

> One easy check to do first is to see if it is still in your mail

> system but undelivered. On a UNIX system running the command:

>

> mailq

>

> should tell you that. If the queue is empty, the message has been

> sent somewhere and you must dig through the logs to find out where.

> If the message is in the queue then the "mailq" command will probably

> give a suggestion as to why.

>

> Cheers,

--nextPart6116636.K0jqIlauFa--