thanks

i modified =
org\apache\tools\ant\taskdefs\email\EmailTask.java
org\apache\tools\ant\taskdefs\email\Mailer.java
org\apache\tools\ant\taskdefs\email\MimeMailer.java

and used =
msg.addHeader( "X-Priority", "1" );

works :-)

Only tested on Win2K / Win2003 with Outlook,
don't know, whether it will work with other mailers too.

if anyone is interested in this, just drop a mail
to

ant at schillbaer.de


Regards, Gilbert

-----Original Message-----
From: Burgess, Benjamin [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 21, 2006 3:05 PM
To: Ant Users List
Subject: RE: <mail> setting mail priority ?!

javax.mail.internet.MimeMessage.addHeader("Importance", "High");

Ben

-----Original Message-----
From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 21, 2006 8:25 AM
To: [email protected]
Subject: <mail> setting mail priority ?!


Hi,

i would like to extend the mail task to support
the setting of mail priority (the red flag in outlook)
on windows platform.

Any ideas ?


Regards, Gilbert


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



**************************************************************
This message, including any attachments, contains confidential
information intended for a specific individual and purpose, and is
protected by law.  If you are not the intended recipient, please contact
sender immediately by reply e-mail and destroy all copies.  You are
hereby notified that any disclosure, copying, or distribution of this
message, or the taking of any action based on it, is strictly
prohibited.
TIAA-CREF
**************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to