From: A F <[email protected]>
> 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
===== [email protected] === 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
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to