using outlook and these are working with same sendmail binary from shell script.


________________________________
 From: Rob Dixon <rob.di...@gmx.com>
To: perl list <beginners@perl.org> 
Cc: Rajeev Prasad <rp.ne...@yahoo.com> 
Sent: Friday, April 26, 2013 9:21 PM
Subject: Re: Email::Sender::Simple how to set priority?
 

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/

Reply via email to