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


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

smtp - python

Started by"Josias L.G" <josiaslg@bsd.com.br>
First post2011-06-08 17:18 -0300
Last post2011-06-08 17:18 -0300
Articles 1 — 1 participant

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


Contents

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

#7255 — smtp - python

From"Josias L.G" <josiaslg@bsd.com.br>
Date2011-06-08 17:18 -0300
Subjectsmtp - python
Message-ID<mailman.31.1307564329.11593.python-list@python.org>
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.

[toc] | [standalone]


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


csiph-web