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


Groups > comp.lang.python > #7255

smtp - python

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!news2.euro.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <josiaslg@bsd.com.br>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.066
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'example:': 0.03; 'newbie': 0.03; 'python': 0.08; 'subject:python': 0.14; '(get': 0.16; 'asyncore': 0.16; 'file).': 0.16; 'smtpd': 0.16; 'trying': 0.23; 'module,': 0.23; 'thanks.': 0.27; "i'm": 0.27; 'language.': 0.28; 'import': 0.29; 'server': 0.29; 'all,': 0.30; 'someone': 0.33; 'to:addr:python-list': 0.33; 'however,': 0.34; 'here,': 0.35; 'format.': 0.36; 'charset:us-ascii': 0.36; 'received:google.com': 0.37; 'something': 0.37; 'received:209.85': 0.37; 'another': 0.37; 'received:192': 0.38; 'skip:s 20': 0.39; 'received:209': 0.39; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'header :Message-Id:1': 0.62; 'mailbox': 0.65; 'received:209.85.216.181': 0.67; 'received:mail-qy0-f181.google.com': 0.67; 'texts': 0.67; 'mails': 0.71; '?..': 0.84; 'adopt': 0.84; 'transferred': 0.96
From "Josias L.G" <josiaslg@bsd.com.br>
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding quoted-printable
Subject smtp - python
Date Wed, 8 Jun 2011 17:18:40 -0300
To python-list@python.org
Mime-Version 1.0 (Apple Message framework v1084)
X-Mailer Apple Mail (2.1084)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.31.1307564329.11593.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 82.94.164.166
X-Trace 1307564329 news.xs4all.nl 49039 [::ffff:82.94.164.166]:50414
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:7255

Show key headers only | View raw


Hi for all,
I'm very newbie in python and is very good language.
I'm trying to adopt a example:

import smtpd
import asyncore

server = smtpd.PureProxy(('127.0.0.1', 1025), ('mail', 25))

asyncore.loop()

I'm trying to copy the email that is send to another email in maildir format.  
Here, i'm reading about the mailbox module, however, i don't know how start that (get the email that was transferred and, trought mailbox module, save all mails in one file). 

Can someone indicate something to me read ?.. examples... texts and etc.

Thanks.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

smtp - python "Josias L.G" <josiaslg@bsd.com.br> - 2011-06-08 17:18 -0300

csiph-web