Clean TO field

2008-05-15 Thread Rick Duval
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

Re: Clean TO field

2008-05-15 Thread Theo Van Dinter
On Thu, May 15, 2008 at 10:59:18AM -0400, Rick Duval wrote: 1) is there a complete list of variables available somewhere and perldoc Mail::SpamAssassin::PerMsgStatus is a good start, read the doc for get(). plugins may make other data available, you'd have to look at them to find out. 2) IS