Welcome to Geeklog, Anonymous Sunday, September 01 2024 @ 12:09 am EDT
Geeklog Forums
Process Incoming Email
andyc
Incoming email idea...
GL can send out email, no problem. Now, what about the reverse? I was driving to work thinking about some of the people in my organization: They can use email and read the web. But that's really it -- filling out a web form is just too much. But, if I gave them an address (or put them in the Outlook address directory) to which they could just email their stories, I know that they'd use it more. I also think this might have some other interesting applications for use besides helping out tech-shy users.
So, I was wondering just how hard would it be to gateway incoming email into the submission queue? Several years ago I setup a number of people to run HyperNews which was a simple little Perl app that was made obsolete by Slash, Nuke, Geek, etc. But at its time, it was pretty cool. Just like GL, it could send out new stories to registered users. But, it could also receive incoming mail and gateway it back to this structure of this news system. Just for fun, here is a link to the script mail-incoming.pl that did all the work.
In terms of GL, here is my brainstorming:
- Run UW IMAP on your GL box.
- Create a mailbox for each topic.
- Using the PHP IMAP functions, run a cron job to check mailboxes for waiting stories. If there is a message, have the script then write that email to the submission queue. The topic would be defined by the mailbox name to which the email was sent, the title of the story would come from the subject line of the email, the author could perhaps be the name/email of the sender, and the body would come from the body of the email.
Post your thoughts about this and I'll do some more digging. Perhaps this weekend I can take some time to work on writing this script.
Or is this just a crazy idea?
tomw
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content