Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

set/get header?

Quote Reply
set/get header?
Hi,
I used the following statements in "gm2.2.4/incoming.pl" just before "# Insert the email" to get "X-Spam-Score" header. Its is not working in gm3.01. Could you please give some directions?

my $X_Spam_Score = $mail->top_part->get('X-Spam-Score') || 0; #get score from header
$mail->top_part->set('X_Spam_Score', $X_SPam_Score) ; # just confirming - removed later


Both worked in gm2.2.4 but wouldn't in gm3.0.1. Please help.
thank you, pyc
Subject Author Views Date
Thread set/get header? pyc 1692 Jun 1, 2006, 3:35 PM
Post Re: [pyc] set/get header?
pyc 1621 Jun 6, 2006, 8:58 AM