accessing message variables in a custom funciton

Rick Duval rick at duvals.ca
Wed May 14 18:13:58 IST 2008


I'm writing a custom function and am trying to access the variable that are
shown at the top of Message.pm (per jules instructions).

Problem is that when I run a line like:

my $rickfrom = $message->{from};

I don't get anything back in the $rickfrom, it's empty.

I admit I'm not that experienced with Perl in general but can somebody point
me in the right direction for accessing those vars?

Also, is there any one var that will just give me the first clean "to"
address without and <>, etc.

Thanks

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080514/83d7f304/attachment.html


More information about the MailScanner mailing list