Closed (fixed)
Project:
Mailhandler
Version:
6.x-2.x-dev
Component:
Mailhandler
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2010 at 10:45 UTC
Updated:
17 May 2012 at 21:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
geek-merlinhelp is on the way!
Comment #2
geek-merlinhey, your 2.x rewrite and especially the yesterday commits really made my day!
Comment #3
danepowell commentedThis patch will need to be re-rolled WRT the latest dev version, and needs to get to RTBC status before I can commit it.
Comment #4
danepowell commentedI haven't forgotten about this, but it needs some work. For instance, presumably the reason these 'missing' headers aren't returned by imap_header is because they vary from message to message. But if the headers can't be known a priori, how can they be mapped in the processor?
I wonder if this might benefit from #1113888: Command arbitrary fields / CCK fields.
Comment #5
danepowell commentedComment #6
danepowell commentedThis should be re-rolled as a commands plugin if you are still interested. I would suggest copying the existing MailhandlerCommandsHeaders plugin as a starting point.
Comment #7
danepowell commentedAlso, now that command plugins can be individually configured, it would be almost trivial to write a plugin that allows you define arbitrary headers to be mapped in the processor (basically a combination of the parsing/processing of the current Headers plugin and the configuration options of the Default commands plugin).
Comment #8
danepowell commentedBy the way, this would be a great little project for anyone new to development and wanting to get some experience with the Ctools and Mailhandler APIs. I'd also be willing to knock this out in exchange for nominal sponsorship... contact me if you are interested.
Comment #9
danepowell commentedComment #10
danepowell commentedhttp://drupalcode.org/project/mailhandler.git/commit/79769f6
http://drupalcode.org/project/mailhandler.git/commit/ecc853c
Comment #11
geek-merlincool!!