Home : Products : Gossamer Mail : Development, Plugins and Globals :

Products: Gossamer Mail: Development, Plugins and Globals: Short To Global?: Edit Log

Here is the list of edits for this post
Short To Global?
hi,

i'm currently using a short description global which i'll post below, that displays... a short description. Unimpressed

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
}

Last edited by:

ryel01: May 29, 2002, 9:00 PM

Edit Log: