I made a patch against mailhandler 6.x-1.8 to enable the commands in html email. I hope it is helpful to someone.
Thanks,
Sebastian
| Comment | File | Size | Author |
|---|---|---|---|
| mailhandler.retrieve.inc_.html_command.patch | 1.63 KB | our1944 |
I made a patch against mailhandler 6.x-1.8 to enable the commands in html email. I hope it is helpful to someone.
Thanks,
Sebastian
| Comment | File | Size | Author |
|---|---|---|---|
| mailhandler.retrieve.inc_.html_command.patch | 1.63 KB | our1944 |
Comments
Comment #1
Ian Ward commentedThe main problem I see with this is that it no longer assumes commands will be on the first line of the body. This makes the distinction between an email without commands and an email with commands less clear, since commands could now be anywhere in the body (by allowing an arbitrary commands start line, and not assuming it's the first line). That said, there's already the assumption that the first line cannot start with a word followed by a colon unless it's supposed to be a command. The problem w/ stripping all tags from whole body before iterating is that it makes stripping the commands and signature from the body more difficult (line numbers are arbitrary). Maybe the only way around this is to allow specification of an optional commands delimiter.
Comment #2
Ian Ward commentedMarked http://drupal.org/node/567790 as duplicate.
Comment #3
cor3huis commentedRamblings:
This is basically more an implementation issue. Using the body of the email for commands is a nice original design however brings along these indicated disadvantages. The email header is actually the place where such things belong. Here the difficulty is that most people have a hard time adjusting their email headers either manually or via a small script.
A HTML mail should actually also contain the plain mail and that is where the command should reside and picked up not from the HTML part, however also not easy for others to craft such an email
Comment #4
danepowell commentedMarked #976084: Node body HTML getting cut off on import as dupe.
Comment #5
danepowell commentedSorry, Mailhandler 6.x-1.x / 7.x-1.x are no longer supported. Please upgrade to 6.x-2.x / 7.x-2.x and re-open if still an issue. Thanks!