Configure mailhandler to optionally not post nodes

jmcclelland - February 23, 2009 - 01:36
Project:Mailhandler
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm using mailhandler in conjunction with several modules that use the mailhandler hook to process incoming messages.

If none of my modules process the message, I would like mailhandler to ignore the node (rather than attempt to post it as a blog post).

The attached diffs allow users to configure each mailbox with the default node type they would like un-handled messages to be posted as (or optionally set to none, in which case mailhandler will ignore the node).

AttachmentSize
mailhandler.install.optionally-skip-node-creation.patch1.1 KB
mailhandler.module.optionally-skip-node-creation.patch8.54 KB
 
 

Drupal is a registered trademark of Dries Buytaert.