Closed (works as designed)
Project:
Mailhandler
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2010 at 11:05 UTC
Updated:
23 Dec 2010 at 04:03 UTC
Currently mailhandler seems to assume the you only have one instance where you want to read from a mailbox and post message to content on a site. Currently, I have a case where I would like to have two configurations, each one reading from a separate mail box, and posting to a different content type. Could mailhandler support multiple configurations?
Comments
Comment #1
bonobo commentedThis sounds like the type of setup that could be addressed by setting up an additional mailbox at http://foo.com/admin/content/mailhandler -
Does this address your use case?
Comment #2
mandclu commentedAlmost. That allows me to add a second mailbox, is it possible to set the content type? I don't see a way to specify it with radio buttons or a dropdown. Can it be down using a command? If so, please provide an example.
Comment #3
bonobo commentedYes, this can be done using a command - in the Default commands field, enter the command:
type: pageThis will save all nodes processed via that inbox as pages.
You could use this in conjunction with something like Google Mail to set up an alias (yourmailaddress+alias@gmail.com) - then, filter all email sent to that alias into a folder.
Then, in your Mailhandler settings, you could specify the folder by name (in the Folder field); this, used in conjunction with a default command, would allow you to process two different content types from a common email address by setting up two mailboxes.
Comment #4
cor3huis commented