This sounds like exactly what I need to do. However my Unix-fu isn't
up to coping with the sentence 'We have an alias set up in postfix
that sends the e-mail to our script via a pipe.'... :(

My naive assumption is that one could use something like poplib in the
standard library to connect to a POP3 server and process incoming
emails that way. Does that sound a sensible route to take?

Andy Baker

On Oct 25, 7:09 pm, Jeff Anderson <[EMAIL PROTECTED]> wrote:
> umit wrote:
> > Hi, i am trying to build a quick blog system. But i want users can
> > send emails to submit messages with pictures.
> > How can i receive emails and process them? What should i use?
>
> We use Python's email module.
>
> We have an alias set up in postfix that sends the e-mail to our script
> via a pipe.
>
> The python script imports our Django models, and parses the e-mail
> message with the email module, and does what it needs to.
>
> This should give you a decent starting point.
>
> Cheers!
>
> Jeff Anderson
>
>  signature.asc
> < 1KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to