Post Node by Email

Events happening in the community are now at Drupal community events on www.drupal.org.
meustrus's picture

What if you didn't need to log on to a site to post a new article? What if all you needed to do was email it? Could there be some module that allows you to email a new node to submit@drupal.org and it could recognize you by the email you registered with? Markdown syntax would work wonderfully for this. There could of course be configurable permissions, and possibly integration with eCommerce or User Points for lesser users to pay for the privilege.

Comments

I haven't used it, but

littleviking001's picture

I haven't used it, but it sounds like this is what Mailhandler module does. http://drupal.org/project/mailhandler

Yes, mailhandler will do

jchin1968's picture

Yes, mailhandler will do exactly that. You can supply multiple email addresses for mailhandler to go and retrieve mail messages using either POP or IMAP. Within the mail message you can set configurations like node type, node status and taxonomy or just use the defaults. You can even include images in your message. It was a little tricky getting that to work but it can be done.

Thanks for that module! I

meustrus's picture

Thanks for that module! I couldn't find it by searching for "mail node," which seemed to be the most generic term for what I was trying to accomplish. A question, though.

How do you handle authentication? It seems there is a "password" configuration, but couldn't you sniff the password from any legitimate emails? Couldn't one make a bot that sniffed all the email traffic it could find for email sent to the right address, and find any configured password, and then send spam email to the same address while spoofing the "From" field?

Images and media will be getting easier

bonobo's picture

We have some code in place that works with Mailhandler and maps attached files into filefield/imagefields - we're in the process of cleaning it up prior to releasing it on drupal.org - Ideally, we'll be getting this in place within the next couple weeks.

Cheers,

Bill

next generation of mailsave?

greggles's picture

This sounds like it takes mailsave - http://drupal.org/project/mailsave - and makes it work for fields. Should it be a new branch of mailsave, perhaps?

We're open to just about anything

bonobo's picture

We'd be open to that - I don't think we used much, if any, of mailsave - we never had any intention (and still don't) of supporting core upload.

We're having a development meeting tomorrow - I'll bring that up, and see where people are at.

Cheers,

Bill

We opted to create a new project

bonobo's picture

Before we started development, we built a test site using mailsave, and we looked at the issue queue, and the purpose of the existing module - from that initial research, we made the call to build from scratch to address a much more limited use case than what mailsave addresses: just target cck filefields, and do it with no additional config required (beyond mailhandler and CCK).

Our new module examines the mimetype of any files attached to incoming emails (by leveraging the mimedetect module, which is a dependency) and then cycles through any cck fields belonging to the node type. It will store the attached files in the first filefield that supports the mimetype.

The file extension settings used by mimerouter are the ones exposed by filefield, and everything integrates cleanly with Imagefield, SWF Tools, etc.

The module is called MIME Router; the project page contains a link to a screencast that shows its use.

I am using MIME Router

akobashikawa's picture

I try to use Mailsave but it report problems with Drupal 6.19 I use.
MIME Router work fine without extra configuration for my basic requirements :)

Contributed Module Ideas

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: