in reply to
Output data into an email message.
You've supressed variable interpolation by using single quotes...put $_ in double quotes.
Comment on
Re: Output data into an email message.
In Section
Seekers of Perl Wisdom