On Wed, 5 May 2010, Chris Lewis wrote:

On 5/5/2010 4:07 AM, Steve Kemp wrote:

    I hope that helps.  It was based upon a thread in the archive
  a while back but I cannot immediately find the discussion link, even
  though I started it by asking a question similar to yours!

I remembered that thread, but I couldn't find it either. Coupled with your name, I did.

Works now.

Glad you did, but the way you had it coded *should* have worked...

Oh, I guess because hook_rcpt is called before the ->recipients() are set, so they get clobbered.

You'd need to do this in hook_data (i.e. after all recipients are set).

Matt.

Reply via email to