hi,
i'm currently using a short description global which i'll post below, that displays... a short description.
what i have just noticed is if an email is received that has multiple "To" recipients, the page goes way off the screen. so what i want to do is do the same thing, but with the "To" field (displayed in the inbox).
Can anyone show me how to modify the code to make it do that - even if there are multiple entries in the To field?
Thanks,
Regan.
my $vars = shift;
(my $subject = $vars->{msgs_subject}) =~ s/^(.{25}).+$/$1.../;
$subject
}
i'm currently using a short description global which i'll post below, that displays... a short description.
what i have just noticed is if an email is received that has multiple "To" recipients, the page goes way off the screen. so what i want to do is do the same thing, but with the "To" field (displayed in the inbox).
Can anyone show me how to modify the code to make it do that - even if there are multiple entries in the To field?
Thanks,
Regan.
Code:
sub { my $vars = shift;
(my $subject = $vars->{msgs_subject}) =~ s/^(.{25}).+$/$1.../;
$subject
}