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

 

From: perl-win32-users-boun...@listserv.activestate.com 
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of A F
Sent: Sunday, August 22, 2010 1:31 PM
To: Howard Tanner
Cc: perl-win32-users@listserv.ActiveState.com
Subject: Re: Changing Subject color using MIME::Lite

 

Is there any other mail module that allows that? 

 

  _____  

From: Howard Tanner <tan...@optonline.net>
To: A F <perl95...@yahoo.com>
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: perl-win32-users-boun...@listserv.activestate.com 
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of A F
Sent: Friday, August 20, 2010 4:53 PM
To: perl-win32-users@listserv.ActiveState.com
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
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to