Hi ;
Try ;
my $contentobj = $self->TransactionObj->Attachments->First();
my $headers = $contentobj->{values}{headers};
if ($headers =~ /\nTo: (.*?)\n/) {
my $to = $1;
}
Regards;
*Roy*
<http://www.vialtus.com/disclaimer.html>
Macnlos wrote:
> I've got four process email accounts that are polled by Fetchmail and
> going into a single General queue. From a scrip I need to pull out
> that the "To" address is from the original email. I've been going
> through the wiki site but haven't bumped into anything yet.
>
> Thanks,
> C.Randolph
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: [email protected]
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [email protected]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com