Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46613 > unrolled thread

Re: sendmail smtplib.SMTP('localhost') Where is the email?

Started byinq1ltd <inq1ltd@inqvista.com>
First post2013-05-31 12:07 -0400
Last post2013-05-31 12:07 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: sendmail smtplib.SMTP('localhost') Where is the email? inq1ltd <inq1ltd@inqvista.com> - 2013-05-31 12:07 -0400

#46613 — Re: sendmail smtplib.SMTP('localhost') Where is the email?

Frominq1ltd <inq1ltd@inqvista.com>
Date2013-05-31 12:07 -0400
SubjectRe: sendmail smtplib.SMTP('localhost') Where is the email?
Message-ID<mailman.2497.1370018510.3114.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

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,

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web