[support] Comments to email - Mailhandler hack!

Earnie Boyd earnie at users.sourceforge.net
Fri Apr 17 16:51:54 UTC 2009


Quoting Rohan Smith <rohanasmith at gmail.com>:

> Hmmm.... the modules already know how to retrieve email from the mailing
> list and post them to the site. It is done the way when it is posted
> directly TO the mailing list.
> My issue is, how can I make drupal totally ignore posting to the site when a
> forum post is made [not unpublished], the current settings ignore
> unpublished nodes or comments and do not post them to the mailing list.
> Is there a way for me to make a node post or comment that does not have a
> node id or comment id.
> It basically operates like a post in the contact form, no asscociation with
> the drupal content system, it just sends an email with the proper title and
> from and to addresses BUT it also appears in the section where comments are
> to be made. That way drupal only gives it an id when it retrieves it from
> the mailing list.
>

Use hook_form_alter to modify the submit handler to one of your own doing.

--
Earnie
-- http://r-feed.com/           -- http://for-my-kids.com/
-- http://www.4offer.biz/       -- http://give-me-an-offer.com/




More information about the support mailing list