[development] Send Contents of new node by email (2nd attempt)
Ernst Plüss
ernst.pluess at gmail.com
Thu Jan 28 09:28:02 UTC 2010
Hi Drupalfriends
How can I send the contents of a node by email after it has been created?
I installed the print module and tired to call their methods from
hook_nodeapi up on $op=='instert'. But it turned out that at this point not
all node information is saved, which causes a lot of funny side effects
(access control, strange messages on screen, etc).
The best thing I found is to have a hidden iframe, when the contents is
shown after the user hits send. The link of the iframe would call a call
back url which triggers the mail functionality. But I'm not really happy
with this solution.
Any ideas are welcome?
Best Regards
Ernst
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100128/3efad7e5/attachment.html
More information about the development
mailing list