[rt-users] Email Queue Routing

Kevin Falcone falcone at bestpractical.com
Wed Jan 19 16:43:48 EST 2011


On Wed, Jan 19, 2011 at 02:09:38PM +0000, Pierre Buhas wrote:
>    my %domain_map = ();
>    my $queues = new RT::Queues(RT::SystemUser);
>    foreach my $queue ($queues->Next) {
>    $domain_map { $queue->FirstCustomFieldValue('MailDomain') } = $queue->Name;
>    }

That really wants to be a while ( my $queue = $queues->Next ) {

The new is really old-style but should be fine

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110119/9e765d5e/attachment.sig>


More information about the rt-users mailing list