Operating System - HP-UX
1745786 Members
4071 Online
108722 Solutions
New Discussion

how to specify the priority of mailx mail ?

 
miaoxucheng
Advisor

how to specify the priority of mailx mail ?

hi ,expert .
Now , i used the mailx on my HP-UX system to send the mail to my corperation's mail server of MS exchange server . but i found all the mail priority are normal , how can i change the priority of my mail using mailx at the time of sending ?
thanks a lot .

 

 

P.S. this thread has been moevd  from HP-UX > System Administration to HP-UX > messaging - HP Forums Moderator

1 REPLY 1
Dietmar Konermann
Honored Contributor

Re: how to specify the priority of mailx mail ?

Looks like mailx(1) does not have such an option.

If you need to send such flagged message from the command line, then elm(1) could be a possible solution.

e.g. add these lines to $HOME/.elm/elmheaders:

Importance: high
X-Priority: 1

Then these flags are included if you send mail via elm:

echo testbody | elm -s testsubject


Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)