you are using single quotes '' which don't interpolate. use double quotes "".
> -----Original Message----- > From: FLAHERTY, JIM-CONT [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 12, 2002 8:56 AM > To: Jim (E-mail); Beginners (E-mail) > Subject: Help with MIME::Lite module > > > I am wanting to send HTML reports to clients that can read html mail. > In the Data section is where you put the body of the message > . If I type > html <tag> and text it works fine. but when I try to add a > variable the body > of the message has > > $nhtmlpage > > nothing on whats in the variable. Help > > code > > > > my $msg = MIME::Lite->new( > From => '[EMAIL PROTECTED]' > <mailto:'[EMAIL PROTECTED]'> , > To => '[EMAIL PROTECTED]' > <mailto:'[EMAIL PROTECTED]'> , > Cc => '[EMAIL PROTECTED]' <mailto:'[EMAIL PROTECTED]'> , > Subject => 'Morning Trouble Call report', > Type => 'text/html', > Data => '$rhtmlpage' > > ); > > $msg->send(); > > > > > ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]