Hi,
The parameters to drupal_mail() have changed. I tried writing a patch that would do this, but couldn't come up with a rule that would reliably detect it - there's the same number of compulsory params and I don't see any way of determining the usage of the one variable name throughout. Perhaps you could check that the first param matches "$module" or the actual module name, but I didn't know how to do that. See Drupal 5.x to 6.x Mail changes for more details.
Cheers,
Stella
Comments
Comment #1
douggreen commentedTry looking at only the second argument -- if it's $to or if it's a string that has an @ sign in it...
To do the string checking, you'll need to set
'#source' => 'all'Comment #2
stella commentedThat could work. I'll also check for $recipient, which is the variable used in most of the examples. It won't match every case, but hopefully the majority. Will write up a patch for this shortly.
Cheers,
Stella
Comment #3
stella commentedFixed and checked into CVS.
Cheers,
Stella
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.