On 27/04/2013 00:21, Rajeev Prasad wrote:
following is still coming out as normal priority email.
use strict;
use warnings;
use Email::MIME;
use Email::Sender::Simple qw(sendmail);
my @mesg=qw(fox jumps over the);
my $subject='IMP mesg';
my $message = Email::MIME->create(
header_str => [
From => '<x...@abc.com>',
To => '<'y...@abc.com>',
Subject => $subject,
],
attributes => {
encoding => 'quoted-printable',
charset => 'ISO-8859-1',
'X-Priority' => 1,
'X-MSMail-Priority' => 'High',
},
body_str => "@mesg",
);
sendmail($message);
Which email client are you using? Priority is a non-standard email
feature and it depends which headers the client looks at.
You might also want to try
Importance => 'High'
HTH,
Rob
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/