Hi,

I'm trying to set up a rule for forwarding a node to a referenced user upon node save using the "Send node as HTML formatted email" action. As admin, this works fine. As a user, I get an access denied error and this pops up in the log:

Warning: Cannot modify header information - headers already sent by (output started at /WWW/includes/common.inc:2697) in drupal_goto() (line 703 of WWW/includes/common.inc).

Now since it works as admin, and after checking the permissions multiple times, what could be the cause for this? Because sending the node using the link (send by email) on the node works just fine. It's just the rule that seems to fail.

Thanks in advance!

Comments

pauljb’s picture

Too late for herrzhull, but I solved it by adding an action "Save entity" in Rules before sending the formatted HTML mail.