Josh Endries wrote: > $_attributes['spam_extension']['params'][0][] = > str_replace('INBOX.','',$mbox['val']); Well I fixed it by changing [] to [$mbox['val']]. I dunno if this is the best way, but it works. Josh