SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Java - Setting Importance to High in Outlook

    Does anyone know how I could get a message I send with JavaMail to be of high importance in Outlook?
    I've tried
    Code:
    message.addheader("X-Priority", 3);
    And it shows up in the listed headers, but doesn't affect it's importance in outlook.
    Thanks.
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Priority 3 is normal. You need 2 for high, or 1 for very high.

    Code:
    The headers you want to use, in descending order, are:
    X-Priority: 1 (Highest)
    X-Priority: 2 (High)
    [for normal priority, do nothing]
    X-Priority: 4 (Low)
    X-Priority: 5 (Lowest)

  3. #3
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I had tried 1 and 3, neither had any affect.
    And outlook only supports chaning between low, regular, and high.
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*

  4. #4
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Defender1
    I had tried 1 and 3, neither had any affect.
    And outlook only supports chaning between low, regular, and high.
    Try using 2 as your Priority setting.

  5. #5
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wow, 2 worked. Is 1 low and 2 high?
    Thanks!
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*

  6. #6
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Defender1
    Wow, 2 worked. Is 1 low and 2 high?
    Thanks!
    No, 1 is "Very High", 2 is "High", 3 is "Normal", 4 is "Low", and 5 is "Very Low". Outlook can only see 2-4, for some odd reason. Read my post above for the priority scale.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •