The limitation is the MIME protocol, not the Perl module. So the answer is 
still no.

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of A F
Sent: Sunday, August 22, 2010 1:31 PM
To: Howard Tanner
Cc: [email protected]
Subject: Re: Changing Subject color using MIME::Lite

 

Is there any other mail module that allows that? 

 

  _____  

From: Howard Tanner <[email protected]>
To: A F <[email protected]>
Sent: Fri, August 20, 2010 2:13:30 PM
Subject: RE: Changing Subject color using MIME::Lite




No. You can’t change the color of the subject since it’s text only, not marked 
up like HTML or RTF. Typically, highlighting of subjects is done with 
asterisks, as in “*** SPAM”.

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of A F
Sent: Friday, August 20, 2010 4:53 PM
To: [email protected]
Subject: Changing Subject color using MIME::Lite

 

Hi All,

 

Is there a way to make the subject (not the body) of the email sent by 
MIME::Lite in different color like red or something?

 

sub sendmail {
   my ($to,$cc,$subject,$data) = @_;
 my $msg = MIME::Lite->new(
     From =>'"$from",
     To =>"$to",
     Bcc=>"$cc",
     Subject =>"$subject",
     Type =>'text/html',
     Data =>"$data"
     );

   $msg->add('X-Priority' => 1); 
   $msg->send('smtp',$mailhost,Debug=>0);
}

 

Thanks

A.

 

 

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to