Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98555
| X-Received | by 10.13.248.68 with SMTP id i65mr89971ywf.39.1447106005123; Mon, 09 Nov 2015 13:53:25 -0800 (PST) |
|---|---|
| X-Received | by 10.50.111.102 with SMTP id ih6mr23961igb.7.1447106005096; Mon, 09 Nov 2015 13:53:25 -0800 (PST) |
| Path | csiph.com!au2pb.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!b51no77617qgf.0!news-out.google.com!l1ni1443igd.0!nntp.google.com!i2no1968869igv.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Mon, 9 Nov 2015 13:53:24 -0800 (PST) |
| In-Reply-To | <mailman.185.1447093595.16136.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=109.60.108.225; posting-account=19izYAoAAAA9JBIU5jzsuVhoPybSlW8- |
| NNTP-Posting-Host | 109.60.108.225 |
| References | <79f2c622-e626-43ae-bcec-f85d394ce575@googlegroups.com> <mailman.185.1447093595.16136.python-list@python.org> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <fccaef52-59bd-4165-a570-2abb6a229dbc@googlegroups.com> (permalink) |
| Subject | Re: Getting response by email reply message |
| From | zljubisic@gmail.com |
| Injection-Date | Mon, 09 Nov 2015 21:53:25 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Received-Bytes | 2636 |
| X-Received-Body-CRC | 138587391 |
| Xref | csiph.com comp.lang.python:98555 |
Show key headers only | View raw
> You have a couple options that occur to me: > > 1) set up an SMTP server somewhere (or use the existing one you're > receiving this email at in the event you're getting it as mail > rather than reading it via NNTP or a web interface) to receive the > mail, then create a Python script to poll that inbox (usually POP3 or > IMAP) for messages addressed. The mails can be extracted, parsed, > and deleted Why should I setup the SMTP server? If my email is on gmail server, I can read the messages from there from time to time. > 2) similar to above, set up an SMTP server, but use server processing > scripts (e.g. procmail scripts) to launch some script when matching > emails are received. It would save you from polling (reducing server > load) and most scripting frameworks pipe the message in on stdin so > you don't have to muck with POP3/IMAP logins. That would be nice but I don't have an access to the server processing scripts. > 3) write your own STMP daemon that would do listen and react when > appropriate messages come in. For now, I could set some time interval, let's say every five minutes for mail checking. I could parse the mail, but at the moment I am not sure how mail body should look like in order to be sure that I have parsed the information correctly. I agree, #2 is the best approach because you are doing something when the mail arrives. In this case you don't have to pull mail server from time to time. Regards.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Getting response by email reply message zljubisic@gmail.com - 2015-11-09 08:12 -0800
Re: Getting response by email reply message Joel Goldstick <joel.goldstick@gmail.com> - 2015-11-09 11:21 -0500
Re: Getting response by email reply message zljubisic@gmail.com - 2015-11-09 13:45 -0800
Re: Getting response by email reply message Laura Creighton <lac@openend.se> - 2015-11-10 06:42 +0100
Re: Getting response by email reply message zljubisic@gmail.com - 2015-11-09 23:09 -0800
Re: Getting response by email reply message Laura Creighton <lac@openend.se> - 2015-11-10 11:23 +0100
Re: Getting response by email reply message Laura Creighton <lac@openend.se> - 2015-11-10 11:37 +0100
Re: Getting response by email reply message Tim Chase <python.list@tim.thechases.com> - 2015-11-09 12:15 -0600
Re: Getting response by email reply message zljubisic@gmail.com - 2015-11-09 13:53 -0800
Re: Getting response by email reply message Denis McMahon <denismfmcmahon@gmail.com> - 2015-11-09 22:14 +0000
Re: Getting response by email reply message Tim Chase <python.list@tim.thechases.com> - 2015-11-09 16:45 -0600
Re: Getting response by email reply message Ian Kelly <ian.g.kelly@gmail.com> - 2015-11-09 15:30 -0700
Re: Getting response by email reply message Marko Rauhamaa <marko@pacujo.net> - 2015-11-10 00:43 +0200
Re: Getting response by email reply message Chris Angelico <rosuav@gmail.com> - 2015-11-10 09:37 +1100
csiph-web