I'm writing a custom plugin and using $pms->get('To') to get my to address but it can be full of all kinds of junk. Multiple cc's, names of account as well as their addresses and sometimes, for mailing lists, just the name of the list!
1) is there a complete list of variables available somewhere and 2) IS there another variable that holds a "clean" to email address? or 3) If there isn't how do people deal with this? Thanks Rick