Thanks ed this snip is perfect. 'root' => 'vd=' . preg_replace('|.*@|i', '', Auth::getAuth()) . \ ',o=clients,dc=radiowave,dc=net', -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.15 - Release Date: 16/04/2005