[development] Prevent sending emails with hook_mail_alter() in d6?

Earnie Boyd earnie at users.sourceforge.net
Thu Mar 15 12:34:25 UTC 2012


On Thu, Mar 15, 2012 at 7:20 AM, Mario Schnauss wrote:
> Hi all,
>
>
>
> i am looking for a clean way to prevent drupal 6 sending emails on my custom
> conditions. In drupal7 i can use hook_mail_alter() and set "send" parameter
> to false. Is there an workaround for that drupal6?

Did you try to do it the same way?  I just looked at api.drupal.org to
compare the differences and I don't see any.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd


More information about the development mailing list