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

bonobo’s picture

This 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?

mandclu’s picture

Almost. 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.

bonobo’s picture

Yes, this can be done using a command - in the Default commands field, enter the command:

type: page

This 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.

cor3huis’s picture

Category: feature » support
Status: Active » Closed (works as designed)