Take the single quotes off of $nhtmlpage.. the variable isn't being
interpolated.

Cheers,
Kevin

On Fri, Apr 12, 2002 at 08:56:15AM -0400, FLAHERTY, JIM-CONT 
([EMAIL PROTECTED]) said something similar to:
> 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();
>  
>  
>  
>  

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Luke, you're going to find that many of the truths we cling to depend greatly
on our own point of view.
Obi-Wan Kenobi, ROTJ 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to