From: A F <perl95...@yahoo.com> > 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.
No. You may try to add the "Priority: urgent" header as well and see if it forces your mail client to mark the message in any way, but you definitely cannot control the color of the message subject. Not reliably. Anything you will come up with will be mail client specific. Jenda ===== je...@krynicky.cz === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs