Hello list,
I'm trying to find how to retrieve -in a scrip- the original To: from
a mail submitted ticket.
Details :
I have a single entry queue (called support), with multiple email aliases.
The main adress of that queue is [EMAIL PROTECTED]
In my postfix configuration, I created some
Try something like this:
my $Transaction = $self-TransactionObj;
my $header = $Transaction-Attachments-First-GetHeader('To');
my @addr = Mail::Address-parse($header);
foreach my $addrobj (@addr) {
my $addr = lc
$RT::Nobody-UserObj-CanonicalizeEmailAddress($addrobj-address);
# $addr should