<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yes, pass what you need into $params from hook_nodeapi, before the
drupal_mail() call. See
<a class="moz-txt-link-freetext" href="http://api.drupal.org/api/function/drupal_mail/6">http://api.drupal.org/api/function/drupal_mail/6</a> for details.<br>
<br>
<br>
-D<br>
<br>
<br>
Ayen Designs wrote:
<blockquote cite="mid:4A7C719A.2020201@ayendesigns.com" type="cite">
  <p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
  <br>
  </p>
  <pre>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.


  </pre>
  <br>
  <div class="moz-signature">-- <br>
  <meta http-equiv="CONTENT-TYPE"
 content="text/html; charset=ISO-8859-1">
  <title></title>
  <meta name="GENERATOR" content="OpenOffice.org 2.2  (Win32)">
  <meta name="CREATED" content="20070828;20190398">
  <meta name="CHANGED" content="20070828;20464042">
  <style type="text/css">
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style>
  <p style="margin-bottom: 0in;"><img
 src="cid:part1.02000009.06030900@workhabit.com" name="graphics1"
 align="left" border="0" vspace="10"><font style="font-size: 8pt;"
 size="1">Ayen Designs </font><font face="Times New Roman, serif"><font
 style="font-size: 8pt;" size="1">
  <br>
388 Bullsboro Drive #105 &middot; Newnan, Georgia 30263</font></font>
  <br>
  <font face="Times New Roman, serif"><font style="font-size: 8pt;"
 size="1">404-271-9734<br>
  <a moz-do-not-send="true" href="http://ayendesigns.com">ayendesigns.com</a>
  <br>
  <br>
Ayen Designs is a tradename of the computer services division of <img
 src="cid:part2.07080202.00030100@workhabit.com" align="absmiddle"></font></font></p>
  </div>
</blockquote>
</body>
</html>