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


________________________________
 From: Rob Dixon <[email protected]>
To: perl list <[email protected]> 
Cc: Rajeev Prasad <[email protected]> 
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    => '<[email protected]>',
>      To      => '<'[email protected]>',
>      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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/

Reply via email to