Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set Flag "importance" in mail -s

Status
Not open for further replies.

hlyeoh

MIS
May 31, 2004
22
MY
Does anyone know how to set flag "importance" when using mail -s "meeting" abc@outlook.com < meeting.notice? The importance flag is expected to be able to highlight the importance of the email when I read from outlook inbox.

thanx
 
hlyeoh,

I don't know if there is a command for Importance, however you can have commands for the mail program at the top of the input file (meeting.notice in this case). An example is setting the reply to address and subject

Reply-To:me@me.co.uk
Subject:set the subject

I would google on mail and these settings and see what other options might be available.

Ade
 
Capoerista (Programmer)

Hi, i have tried to find the solution and this is how i have done it and just to share with you and those that might need it.

unix provide a useful feature which is /usr/lib/sendmail

echo "To:$email" > mesg
echo "Subject: >> mesg
echo "Content-Type: text/plain" >> mesg
echo "X-Priority: 1 (Highest)" >> mesg
echo "X-MSMail-Priority: High" >> mesg

/usr/lib/sendmail -t < mesg


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top