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