Re: Django app to update site through email

2012-08-13 Thread Paul Backhouse
I've just noticed that Askbot seems to do a lot of this already: https://github.com/ASKBOT/askbot-devel/blob/master/askbot/management/commands/post_emailed_questions.py https://github.com/ASKBOT/askbot-devel/blob/master/askbot/mail/__init__.py I've not tested it, and I seem to remember reading a

Re: Django app to update site through email

2012-08-13 Thread Melvyn Sopacua
On 12-8-2012 20:47, Marwan Al-Sabbagh wrote: > Ah good old fetchmail. How did I forget you. Thanks Melvyn, It looks really > really mature an full featured. As far as security and identifying the user > I was planning to use Django's Cryptographic > signing

Re: Django app to update site through email

2012-08-13 Thread Melvyn Sopacua
On 13-8-2012 12:37, Paul Backhouse wrote: > I like the idea of "secret email addresses". I think this is what > spamcop.net does. A good example is actually My Opera and I think wordpress uses something similar as well. -- Melvyn Sopacua -- You received this message because you are subscribed

Re: Django app to update site through email

2012-08-13 Thread Paul Backhouse
On Sat, 2012-08-11 at 13:21 +0300, Marwan Al-Sabbagh wrote: > I'm curious you said you have already implemented this. How did you > end up doing it. Well I just have a manage.py command that uses poplib to get mail. The mail contents are then parsed for app specific keywords (Eg the id of an objec

Re: Django app to update site through email

2012-08-12 Thread Marwan Al-Sabbagh
Ah good old fetchmail. How did I forget you. Thanks Melvyn, It looks really really mature an full featured. As far as security and identifying the user I was planning to use Django's Cryptographic signingand to put a signed value contained the

Re: Django app to update site through email

2012-08-12 Thread Melvyn Sopacua
On 10-8-2012 17:23, Paul Backhouse wrote: > Has this already been done? Does my google-fu escape me? If it hasn't > already been done, why not? And are there any modules out there that can > be dropped in to speed development? Any tips on developing this app? An email gateway is what exposed cont

Re: Django app to update site through email

2012-08-12 Thread Melvyn Sopacua
On 12-8-2012 8:15, Marwan Al-Sabbagh wrote: > thats interesting. I was gonna use python's imaplib to periodically check > an email's inbox using IMAP, and run an action whenever new emails are > discovered. We are running MS Exchange as our email server so I needed > something more generic that wou

Re: Django app to update site through email

2012-08-11 Thread Marwan Al-Sabbagh
thats interesting. I was gonna use python's imaplib to periodically check an email's inbox using IMAP, and run an action whenever new emails are discovered. We are running MS Exchange as our email server so I needed something more generic that would work essentially with any Email server that suppo

Re: Django app to update site through email

2012-08-11 Thread m1chael
Hello, I did this recently with postfix. These are my notes: [add to /etc/aliases] support:"|/home/support/support.py" [add to /etc/postfix/virtual] t...@thesupport.com support * then run newaliases And my script looks like this: #!/usr/bin/python import sys, time, email, email.Mes

Re: Django app to update site through email

2012-08-11 Thread Marwan Al-Sabbagh
It's a very cool idea. I wanted to do something similar to this where I would email users notification for approvals and they could reply to the email with their approval. I'm curious you said you have already implemented this. How did you end up doing it. On 10 August 2012 18:23, Paul Backhouse

Django app to update site through email

2012-08-10 Thread Paul Backhouse
Hi there, The Django site I'm working on at the moment sends out emails when content is created/updated, using django-notifications. A feature I would like to add is where users can reply to these mails, ie comment on a topic. This reply then appears updated on the site. I've already written som