7 Aug
2009
7 Aug
'09
8:40 p.m.
Yes, pass what you need into $params from hook_nodeapi, before the drupal_mail() call. See http://api.drupal.org/api/function/drupal_mail/6 for details. -D Ayen Designs wrote:
During presave of a node, I am calling drupal_mail, which in turn calls my mail hook. In it, I need node info for the subject, but $node isn't passed and global $node doesn't bring it up either...how can I get at it? I thought of passing the information in the $parms array, but it looks like that array might be iterated at some point for other use.
--
Ayen Designs 388 Bullsboro Drive #105 · Newnan, Georgia 30263 404-271-9734 ayendesigns.com <http://ayendesigns.com>
Ayen Designs is a tradename of the computer services division of